[Twisted-Python] Woven-generated html needs newlines and whitespace
Adrian van den Dries
avdd at cantanker.net
Fri Jun 6 19:42:33 MDT 2003
quoth screwtape at froup.com:
> In a perfect world, I'd have block HTML elements on their own lines,
> and inline HTML elements, well, inline. But since Woven spits out XML
> rather than HTML, that'd be quite hacky to implement. :)
Why would it be hacky? HTML is naturally semantic, so it would be
appropriate for twisted.web.woven.widgets to have a registry of
elements and their default block display properties. Woven could then
have an option to "pretty-format" the output according to the display
properties.
a.
More information about the Twisted-Python
mailing list