escape html whitespace

Matt Taylor <[email protected]> Fri, 30 Mar 2007 10:40:06 -0600
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
I couldn't find this information in the archive...

I like the ESCAPE options (HTML, URL, JS).

Is there a way to also escape whitespace?  In particular, I would like
an easier way to replace spaces with &nbsp;

Currently looping through data from dbi and replacing.  Any ideas?

Matt



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV