Text to HTML algorithm.
David Mertz, Ph.D.
mertz at gnosis.cx
Wed Mar 27 14:10:16 EST 2002
|Does anybody have an implementation, or know of one,
|to format plain text into HTML?
|I need to preserve a minimum of structure, such as
|wrapping <p>...</p> around paragraphs separated by
|at least one empty line and detecting unnumbered
|lists (at least).
I'm rather fond of my Txt2Html utility:
http://gnosis.cx/download/txt2html.zip
YMMV.
--
_/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: Postmodern Enterprises _/_/_/
_/_/ ~~~~~~~~~~~~~~~~~~~~[mertz at gnosis.cx]~~~~~~~~~~~~~~~~~~~~~ _/_/
_/_/ The opinions expressed here must be those of my employer... _/_/
_/_/_/_/_/_/_/_/_/_/ Surely you don't think that *I* believe them! _/_/
More information about the Python-list
mailing list