From bdb62897a1fb6fe15eefac4c48a5d98df33aa309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Mon, 10 Apr 2017 11:10:39 +0200 Subject: [PATCH] Add missing MathML tags for annotations. #183 --- html5lib/filters/sanitizer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html5lib/filters/sanitizer.py b/html5lib/filters/sanitizer.py index dc801668..fd35c85c 100644 --- a/html5lib/filters/sanitizer.py +++ b/html5lib/filters/sanitizer.py @@ -111,6 +111,8 @@ (namespaces['html'], 'ul'), (namespaces['html'], 'var'), (namespaces['html'], 'video'), + (namespaces['mathml'], 'annotation'), + (namespaces['mathml'], 'annotation-xml'), (namespaces['mathml'], 'maction'), (namespaces['mathml'], 'math'), (namespaces['mathml'], 'merror'), @@ -138,6 +140,7 @@ (namespaces['mathml'], 'munder'), (namespaces['mathml'], 'munderover'), (namespaces['mathml'], 'none'), + (namespaces['mathml'], 'semantics'), (namespaces['svg'], 'a'), (namespaces['svg'], 'animate'), (namespaces['svg'], 'animateColor'), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy