The following HTML tags are whitelisted in pi Dashboard:
Code Block |
---|
"b", "i", "font", "s", "u", "o", "sup", "sub", "ins", "del", "strong",
"strike", "tt", "code", "big", "small", "br", "span", "em" |
Code Block |
---|
"p", "div", "h1", "h2", "h3", "h4", "h5", "h6", "ul", "ol", "li",
"blockquote" |
"img", "a",
"span" and "div" with style and class attributes
"img" with src, style and class attributes
"i" with style and class attributes
"a" with target and href attributes
...
Allowed Elements
Inline Formatting
b, i, font, s, u, o, sup, sub, ins, del, strong, strike, tt, code, big, small, br, span, em
Common Block
p, div, h1, h2, h3, h4, h5, h6, ul, ol, li, blockquote
Additional
img, a, table, thead, tbody, tfoot, tr, th, td
Allowed Attributes
Globally Allowed
title, class, aria-label, border, cellpadding, cellspacing, colspan, rowspan, dir
Allowed on specific elements
src: img
style: div, span, img, i
target: a
href: a
size: font
color: font
Allowed URL Protocols
data, mailto, tel