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

Patrick K. O'Brien pobrien at orbtech.com
Thu Jun 5 10:46:11 MDT 2003


I'm still learning Woven, but I noticed that the html files generated by the 
example programs are mostly devoid of newlines and other whitespace, making 
the html pretty hard to read.  Is there an easy way to enable newlines?  I 
see hints in microdom, but don't understand it well enough yet.

Here is a specific example - the calendar example listed in the docs:

http://www.twistedmatrix.com/documents/howto/viewindepth#auto4

I typed in that example and ran it.  The html it generated could really use 
some well-placed newlines.  Indentation wouldn't hurt either.  How would I 
modify that example to add newlines and indentation to the html?

-- 
Patrick K. O'Brien
Orbtech      http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------





More information about the Twisted-Python mailing list