Embedded LaTeX code is not rendered correctly even though it is correctly converted to MathML. The incorrect rendering comes from the HTML sanitizer, ammonia, which filters foreign tags out. This PR fixes the issue by adding all MathML tags to an explicit whitelist.
Embedded LaTeX code is not rendered correctly even though it is correctly converted to MathML. The incorrect rendering comes from the HTML sanitizer,
ammonia
, which filters foreign tags out. This PR fixes the issue by adding all MathML tags to an explicit whitelist.