openSUSE / docbookrx

(An early version of) a DocBook to AsciiDoc converter written in Ruby.
MIT License
1 stars 2 forks source link

Callout text is broken #29

Open r0ckarong opened 5 years ago

r0ckarong commented 5 years ago

The text for callouts needs to be in a very particular format to be rendered correctly:

====
<code example> // <1>
====
<1> This is the callout text

It currently gets mangled in the output and isn't rendered properly:

Input: https://github.com/SUSE/doc-caasp/blob/adoc/xml/admin_security.xml#L297

Output: https://github.com/SUSE/doc-caasp/blame/adoc/adoc/admin_security.adoc#L332

Note how I manually fixed the callout entries from the above examples up until <9> to look right. https://github.com/SUSE/doc-caasp/blame/adoc/adoc/admin_security.adoc#L273