[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @tieaccent{..} does not display the tie accent in HTML

From: Per Bothner
Subject: Re: @tieaccent{..} does not display the tie accent in HTML
Date: Tue, 31 Aug 2021 12:52:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 8/30/21 3:44 PM, Gavin Smith wrote:
On Mon, Aug 30, 2021 at 10:00:51AM -0700, Per Bothner wrote:
What I'm looking for is:
(1) Be able to post-process html output with xml tools, such as xslt.
(2) Generate valid epub3 ebooks.

These seem like valid goals so would be happy to see patches that produced
XML output, likely as an option.

What I would like is an option (and maybe even the default) for output that
simultaneously valid both as HTML as XML.  AT least "valid as HTML"
in the sense that it will parse by the HTML5 parsing specification
and any modern browser.

This is called "polyglot markup" by the way:
https://www.w3.org/TR/html-polyglot/ (no longer standards-track but still 

The key issues are just these two:
(1) Don't uses named entities except the builtin XML ones.
(2) Close all tags.  Where HTML prohibits separate closing tags,
use the XML shorthand, e.g. <hr/> .  This works everywhere I've tried it.

You also have to be careful about invalid characters in inline <script> or 
elements - but they should be separate files anyway.
        --Per Bothner
per@bothner.com   http://per.bothner.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]