[Twisted-Python] Woven-generated html needs newlines and whitespace

Adrian van den Dries avdd at cantanker.net
Fri Jun 6 21:42:33 EDT 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


More information about the Twisted-Python mailing list