Closed expikr closed 1 year ago
This is because mdBook, when parsing
<data class="katex-src" value="
A
B
"><span class="katex-display">…<span>
identifies the two newlines between A
and B
as a new paragraph and injects <p>
between them.
This should be fixed in v0.3.14.
To reproduce, enable include-src and add an equation with extra linebreaks within the $$ block.
It seems that html quotations doesn't close properly when there are extra linebreaks.
Suggestion: minify the included source by removing the linebreaks.