asciidoctorj
asciidoctorj copied to clipboard
asciidoctorj-pdf does not handle entities well
For testing purpose I copied the old asciidoc.org user guide into a maven project to render it with various backends. And the PDF backend is the only one which cannot deal with this:
You can also include arbitrary entity references in the AsciiDoc
source. Examples:
➊ ¶
renders:
➊ ¶
It prints (for the second ocurence):
[INFO] --- asciidoctor-maven-plugin:1.5.2:process-asciidoc (output-pdf) @ asciidoc-demo ---
Failed to parse formatted text: ➊ ¶
It should handle those entities or at least print a line number of the parsing problem. It works in html, as you can see here (html on the left, PDF on the right):