Add figcaption to acceptable_elements
I was trying to write a gitit plugin for figures with captions and I couldn't figure out why it wasn't working. Turns out it was the XSS sanitization filtering out the figcaption tags.
This commit is contained in:
parent
7c70578f8b
commit
8abe577923
@ -152,9 +152,9 @@ acceptable_elements = ["a", "abbr", "acronym", "address", "area",
|
||||
"canvas", "caption", "center", "cite", "code", "col", "colgroup",
|
||||
"command", "datagrid", "datalist", "dd", "del", "details", "dfn",
|
||||
"dialog", "dir", "div", "dl", "dt", "em", "event-source", "fieldset",
|
||||
"figure", "footer", "font", "form", "header", "h1", "h2", "h3", "h4",
|
||||
"h5", "h6", "hr", "i", "img", "input", "ins", "keygen", "kbd",
|
||||
"label", "legend", "li", "m", "map", "menu", "meter", "multicol",
|
||||
"figcaption", "figure", "footer", "font", "form", "header", "h1", "h2",
|
||||
"h3", "h4", "h5", "h6", "hr", "i", "img", "input", "ins", "keygen",
|
||||
"kbd", "label", "legend", "li", "m", "map", "menu", "meter", "multicol",
|
||||
"nav", "nextid", "ol", "output", "optgroup", "option", "p", "pre",
|
||||
"progress", "q", "s", "samp", "section", "select", "small", "sound",
|
||||
"source", "spacer", "span", "strike", "strong", "sub", "sup", "table",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user