test: empty inline produces no render
This commit is contained in:
parent
d399f3040c
commit
d82d995749
1 changed files with 7 additions and 0 deletions
7
test/fixtures/default.txt
vendored
7
test/fixtures/default.txt
vendored
|
@ -28,6 +28,13 @@ foo$-1+1 = 2$bar
|
||||||
<p>foo<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>−</mo><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">-1+1 = 2</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.64444em;"></span><span class="strut bottom" style="height:0.72777em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">−</span><span class="mord mathrm">1</span><span class="mbin">+</span><span class="mord mathrm">1</span><span class="mrel">=</span><span class="mord mathrm">2</span></span></span></span>bar</p>
|
<p>foo<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>−</mo><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">-1+1 = 2</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.64444em;"></span><span class="strut bottom" style="height:0.72777em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">−</span><span class="mord mathrm">1</span><span class="mbin">+</span><span class="mord mathrm">1</span><span class="mrel">=</span><span class="mord mathrm">2</span></span></span></span>bar</p>
|
||||||
.
|
.
|
||||||
|
|
||||||
|
Shouldn't render empty content
|
||||||
|
.
|
||||||
|
aaa $$ bbb
|
||||||
|
.
|
||||||
|
<p>aaa bbb</p>
|
||||||
|
.
|
||||||
|
|
||||||
Paragraph break in inline math is not allowed
|
Paragraph break in inline math is not allowed
|
||||||
.
|
.
|
||||||
foo $1+1
|
foo $1+1
|
||||||
|
|
Reference in a new issue