1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

feat(sanitizer): add MathML tags to the sanitizer

This was found by reading the article pointed by https://lobste.rs/s/nobvmp/how_prime_factorizations_govern_collatz
This commit is contained in:
jvoisin 2025-05-06 08:29:19 +02:00
parent 3de9629a49
commit 0e338493de

View file

@ -77,6 +77,38 @@ var (
"var": {},
"video": {"poster", "height", "width", "src"},
"wbr": {},
// MathML: https://w3c.github.io/mathml-core/ and https://developer.mozilla.org/en-US/docs/Web/MathML/Reference/Element
"annotation": {},
"annotation-xml": {},
"maction": {},
"math": {},
"merror": {},
"mfrac": {},
"mi": {},
"mmultiscripts": {},
"mn": {},
"mo": {},
"mover": {},
"mpadded": {},
"mphantom": {},
"mprescripts": {},
"mroot": {},
"mrow": {},
"ms": {},
"mspace": {},
"msqrt": {},
"mstyle": {},
"msub": {},
"msubsup": {},
"msup": {},
"mtable": {},
"mtd": {},
"mtext": {},
"mtr": {},
"munder": {},
"munderover": {},
"semantics": {},
}
)