Skip to content

Commit 5f3348b

Browse files
committed
Add figcaption
1 parent 5be8620 commit 5f3348b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

html5lib/sanitizer.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ class HTMLSanitizerMixin(object):
1212
'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup',
1313
'command', 'datagrid', 'datalist', 'dd', 'del', 'details', 'dfn',
1414
'dialog', 'dir', 'div', 'dl', 'dt', 'em', 'event-source', 'fieldset',
15-
'figure', 'footer', 'font', 'form', 'header', 'h1', 'h2', 'h3', 'h4',
16-
'h5', 'h6', 'hr', 'i', 'img', 'input', 'ins', 'keygen', 'kbd',
17-
'label', 'legend', 'li', 'm', 'map', 'menu', 'meter', 'multicol',
18-
'nav', 'nextid', 'ol', 'output', 'optgroup', 'option', 'p', 'pre',
19-
'progress', 'q', 's', 'samp', 'section', 'select', 'small', 'sound',
20-
'source', 'spacer', 'span', 'strike', 'strong', 'sub', 'sup', 'table',
21-
'tbody', 'td', 'textarea', 'time', 'tfoot', 'th', 'thead', 'tr', 'tt',
22-
'u', 'ul', 'var', 'video']
15+
'figcaption', 'figure', 'footer', 'font', 'form', 'header', 'h1',
16+
'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'input', 'ins',
17+
'keygen', 'kbd', 'label', 'legend', 'li', 'm', 'map', 'menu', 'meter',
18+
'multicol', 'nav', 'nextid', 'ol', 'output', 'optgroup', 'option',
19+
'p', 'pre', 'progress', 'q', 's', 'samp', 'section', 'select',
20+
'small', 'sound', 'source', 'spacer', 'span', 'strike', 'strong',
21+
'sub', 'sup', 'table', 'tbody', 'td', 'textarea', 'time', 'tfoot',
22+
'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video']
2323

2424
mathml_elements = ['maction', 'math', 'merror', 'mfrac', 'mi',
2525
'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom',

0 commit comments

Comments
 (0)