Which HTML tags are allowed on Patapage?
Patapage allows the use of HTML in contributions, comments and other buttons and functions.
However, we do not allow all HTML tags, as that would result in a XSS paradise, but we tried to allow a quite expressive set.
Some tags are not allowed at all, some are allowed with restriction, some are free.
Allowed tags:
b
p
i
s
a
img
table
thead
tbody
tfoot
tr
th
td
dd
dl
dt
em
h1
h2
h3
h4
h5
h6
li
ul
ol
span
div
strike
strong
sub
sup
pre
del
code
blockquote
strike
kbd
br
hr
area
map
big
small
Forbidden tags:
script
object
embed
link
style
form
input
About inline styles:
all style attributes are allowed except for those that require the url() parameter.
e.g.:
allowed : style="background-color: #f0f0f0;"
forbidden : style="background-image: url(test.png);"
Some additional information:
<!-- comments --> comments will be removed.
href or src parameters are allowed on <a> and <img> tags only; and must refer to a valid http or https url.
with and height parameters must be numeric or percentage.
Eventually unclosed, but valid, tags will be closed automatically. Unknows tags will be removed.
Any other text will be html encoded.