Open susam opened 1 year ago
Here is a minimal demonstration that shows that the first three lines in the previous example are supposed to be rendered with <code>
tags:
cat <<EOF > foo.org
* Demo
- =,foo=
- =, foo=
- =foo,=
EOF
pandoc foo.org -o foo.pandoc.html
grep '<li>' foo.pandoc.html
echo
emacs --batch \
--eval "(find-file \"foo.org\")" \
--eval "(org-export-to-file 'html \"foo.emacs.html\")" \
--eval "(kill-emacs)"
grep '<li>' foo.emacs.html
Output:
<li><code class="verbatim">,foo</code></li>
<li><code class="verbatim">, foo</code></li>
<li><code class="verbatim">foo,</code></li>
<li><a href="#orgee10651">1. Demo</a></li>
<li><code>,foo</code></li>
<li><code>, foo</code></li>
<li><code>foo,</code></li>
Here is an example program that reproduces the issue:
Here is the output:
However, the first three lines of output should be: