Re: HTML writer: initial EOL after <pre>
Guenter Milde <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.