Cgi: Print Text files with wordwrap!

Piet van Oostrum piet at cs.uu.nl
Thu Mar 11 09:56:41 EST 2004


>>>>> "Dale Strickland-Clak" <dale at riverhall.NOSPAM.co.uk> (DS) wrote:

DS> If you send plain text, it will be presented exactly how you send it, line 
DS> breaks and all.

DS> If you want it to wrap to the browser window, you have to make it look 
DS> like HTML. The bare minimum you can get away with is <p> tags where you 
DS> want new paragraphs - plus a head and a tail.

And you should replace < > and & by < > and &
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list