Andrew Brosnan wrote: > I'm working on a project that contains descriptive text [...] stored in > a single db field [...]
> It seems like any HTML formatting within the description (paragraph > returns, bold or italic words) would need to be hard coded along with > the text in the db, no? > Seems a shame to do it that way. Anyone doing it differently? You could use simple markup formatting (like wiki and/or twiki does). For example, twiki takes three spaces at the start of a line followed by an asterisk to mean a bullet point, and it understands that words surrounded by underscores, e.g. _like_ _this_, are to mean that those words should be made italic. It handles *bold* too. References: http://www.zipcon.net/~showell/cgi-bin/FolderPiki.py/main%3AWikiFormatti ng http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules Chris -- Chris Davies, Manheim Auctions (MIS) Tel. 0113 393-2004 Fax. 07092 312171 Mobile 07778 199069 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
