emphasis: Fix reading of prev/next rune for multibyte characters
This commit is contained in:
parent
0f145082ad
commit
a520664dc7
4 changed files with 18 additions and 4 deletions
1
org/testdata/inline.html
vendored
1
org/testdata/inline.html
vendored
|
@ -5,6 +5,7 @@ also hard line breaks not followed by a newline get ignored, see \\</li>
|
|||
<li><em>.emphasis with dot border chars.</em></li>
|
||||
<li><em>emphasis with a slash/inside</em></li>
|
||||
<li><em>emphasis</em> followed by raw text with slash /</li>
|
||||
<li><strong>emphasis ending with a "difficult" multibyte character 习</strong></li>
|
||||
<li>->/not an emphasis/<-</li>
|
||||
<li>links with slashes do not become <em>emphasis</em>: <a href="https://somelinkshouldntrenderaccidentalemphasis.com">https://somelinkshouldntrenderaccidentalemphasis.com</a>/ <em>emphasis</em></li>
|
||||
<li><span style="text-decoration: underline;">underlined</span> <strong>bold</strong> <code class="verbatim">verbatim</code> <code>code</code> <del>strikethrough</del></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue