Fix ExplicitLineBreak parsing
fuzzed index out of range and moved range check into for condition as \\ followed by spaces at the end of the inline text should not be turned into an ExplicitLineBreak (just like \\ not followed by spaces).
This commit is contained in:
parent
14900e97e2
commit
4292628c80
4 changed files with 18 additions and 4 deletions
3
org/testdata/misc.org
vendored
3
org/testdata/misc.org
vendored
|
@ -136,6 +136,9 @@ When inserting an image link like [[/home/amos/Pictures/Screenshots/img-2017-09-
|
|||
** misc fuzz / regression / edge case
|
||||
*** index out of range in headline priority parsing
|
||||
**** [#B
|
||||
*** index out of range in explicit line break parsing
|
||||
0\\
|
||||
|
||||
* Footnotes
|
||||
|
||||
[fn:1] a footnote /with/ *markup*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue