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:
parent
3de9629a49
commit
0e338493de
1 changed files with 32 additions and 0 deletions
|
@ -77,6 +77,38 @@ var (
|
||||||
"var": {},
|
"var": {},
|
||||||
"video": {"poster", "height", "width", "src"},
|
"video": {"poster", "height", "width", "src"},
|
||||||
"wbr": {},
|
"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": {},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue