jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34.49k stars 3.38k forks source link

Pandoc is unable to create nested spans #10092

Closed mo-aro-etailer closed 2 months ago

mo-aro-etailer commented 2 months ago

When you try to convert nested span <span class="class-1">abc<span class="class-2">123</span></span>

to asciidoc, you get

[.class-1]#abc [.class-2]# 123##

when you try to convert it back to html you get <span class="class-1">abc [.class-2]</span>123##

As you can see pandoc is unable to properly create nested span object.

jgm commented 2 months ago

What is the expected asciidoc output for this?

mo-aro-etailer commented 2 months ago

This issue can be closed. The problem is not from pandoc but from aciidoctor. Thanks for the quick response