I work a lot with documents that use <literallayout
xml:space="preserve" class="normal">, and often these documents have
tabs within the literallayout. The stylesheets handle these correctly and
pass them through to the output document. Unfortunately, these
generally display poorly.
For HTML and XHTML, web browsers simply ignore tabs at the beginning of
the line for display purposes. It would be nice if, in addition to
handling newlines, the stylesheets would insert a span with a certain
class ("indent", maybe) around the tab. Then users could style it
appropriately so that it presents as they want it to.
If you want a patch to the existing stylesheets, just ask, and I'll provide one.
Log in to post a comment.