oreillymedia / docbook2asciidoc

XSL for transforming DocBook to AsciiDoc
MIT License
61 stars 33 forks source link

Use backtick markup for converting childless "literal" elements to AsciiDoc #26

Open sandersk opened 11 years ago

sandersk commented 11 years ago

Use "inline literal passthrough" backtick markup for converting childless elements to AsciiDoc. For example, convert this:

<literal moreinfo="none">if 'tz' in rec</literal>

to this:

`if 'tz' in rec`

To ensure that no further substitutions are done on things like single quotes.