Skip to content

Commit bdb6289

Browse files
committed
Add missing MathML tags for annotations. #183
1 parent 17499b9 commit bdb6289

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

html5lib/filters/sanitizer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@
111111
(namespaces['html'], 'ul'),
112112
(namespaces['html'], 'var'),
113113
(namespaces['html'], 'video'),
114+
(namespaces['mathml'], 'annotation'),
115+
(namespaces['mathml'], 'annotation-xml'),
114116
(namespaces['mathml'], 'maction'),
115117
(namespaces['mathml'], 'math'),
116118
(namespaces['mathml'], 'merror'),
@@ -138,6 +140,7 @@
138140
(namespaces['mathml'], 'munder'),
139141
(namespaces['mathml'], 'munderover'),
140142
(namespaces['mathml'], 'none'),
143+
(namespaces['mathml'], 'semantics'),
141144
(namespaces['svg'], 'a'),
142145
(namespaces['svg'], 'animate'),
143146
(namespaces['svg'], 'animateColor'),

0 commit comments

Comments
 (0)