Fix index out of range in headline priority parsing

fuzzed - counting is hard...
This commit is contained in:
Niklas Fasching 2019-10-27 15:24:24 +01:00
parent 20970ec872
commit f69b043136
4 changed files with 28 additions and 3 deletions

View file

@ -60,7 +60,17 @@
</li>
</ul>
</li>
<li><a href="#headline-27">Footnotes</a>
<li><a href="#headline-27">misc fuzz / regression / edge case</a>
<ul>
<li><a href="#headline-28">index out of range in headline priority parsing</a>
<ul>
<li><a href="#headline-29">[#B</a>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="#headline-30">Footnotes</a>
</li>
</ul>
</nav>
@ -480,7 +490,16 @@ When inserting an image link like <img src="/home/amos/Pictures/Screenshots/img-
</pre>
</div>
</div>
<h1 id="headline-27">
<h2 id="headline-27">
misc fuzz / regression / edge case
</h2>
<h3 id="headline-28">
index out of range in headline priority parsing
</h3>
<h4 id="headline-29">
[#B
</h4>
<h1 id="headline-30">
Footnotes
</h1>
<div class="footnotes">