12ff835a8a
Otherwise we get bad results for non-table, non-paragraph lines containing pipe characters. Closes #6739. See also jgm/commonmark-hs#52.
21 lines
470 B
Markdown
21 lines
470 B
Markdown
```
|
|
% pandoc -f gfm
|
|
* `--argument` This item does not have a pipe character
|
|
* `--argA | --argB` This item has a pipe character
|
|
^D
|
|
<ul>
|
|
<li><code>--argument</code> This item does not have a pipe character</li>
|
|
<li><code>--argA | --argB</code> This item has a pipe character</li>
|
|
</ul>
|
|
```
|
|
|
|
```
|
|
% pandoc --mathjax -f gfm+tex_math_dollars
|
|
* $|x|$
|
|
* $|y|$
|
|
^D
|
|
<ul>
|
|
<li><span class="math inline">\(|x|\)</span></li>
|
|
<li><span class="math inline">\(|y|\)</span></li>
|
|
</ul>
|
|
```
|