Files
Erik Michelson d16bdecab6 fix(toc): include raw KaTeX from headings in toc
The KaTeX renderer usually renders the raw KaTeX into MathML.
This can not be properly displayed inside the toc and further
makes problems when trying to render a fallback, because then
parts could become duplicated. This commit fixes this by
stripping MathML code completely for the title processing,
leaving the raw KaTeX code intact. The only downside of this
approach is that the surrounding '$' get lost, but this seems
still better than nothing or duplicated content.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-08-02 16:35:12 +02:00
..
2022-12-11 23:09:10 +01:00
2022-12-11 23:09:10 +01:00