From: Guenter M. <mi...@us...> - 2016-08-14 18:30:27
|
On 2016-08-14, Alan G. Isaac wrote: >> On 2016-08-11, Alan Isaac wrote: >>> 3. If styling is not a solution, should PRE elements be written >>> with content following immediately (rather than with >>> an initial EOL)? > On 8/13/2016 6:29 AM, Guenter Milde wrote:> >> I think so. This is what the "html5" writer does. > I found this explanation: > http://stackoverflow.com/questions/17722951/difference-in-display-between-html-and-xhtml > It seems from this explanation that the XHTML writers > should not write an extra EOL immediately after a PRE tag, > but it should not matter for HTML 5. Yes. However, to be on the safe side, the "html5-plain" writer writes "polyglott" HTML that is also valid XML. Günter |