Anchor inline regexps and improve sub/super-script
The regexps are meant to extract a match immediately following the cursor - the anchor should have been there from the beginning... Also empty sub/superscript doesn't make sense - nested sub/superscript does make sense but yagni.
This commit is contained in:
parent
ab9d87fbc8
commit
d1054063cf
4 changed files with 12 additions and 8 deletions
2
org/testdata/inline.html
vendored
2
org/testdata/inline.html
vendored
|
@ -61,7 +61,7 @@ empty emphasis markers like ++ // __ and so on are ignored
|
|||
</li>
|
||||
<li>
|
||||
<p>
|
||||
subscript<sub>sub</sub> and superscript<sup>super</sup>
|
||||
use _{} for subscript<sub>sub</sub> and ^{} for superscript<sup>super</sup>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue