[Zope] Text replace help

Casey Duncan c.duncan@nlada.org
Thu, 10 Jan 2002 14:38:41 -0500


On Thursday 10 January 2002 11:42 am, Todd Loomis allegedly wrote:
> Hi All:
>
> I'm using the titles of my pages as the subject in my webmaster email
> links. However some of my titles use "&" and it seems that it breaks off
> the rest of the title after it. Can I replace the "&" with "&"? If so
> how and or do I need to do some thing else?
>
> Thanks,
> Todd

Using dtml, the html_quote option will take care of this:

<dtml-var name="title" html_quote>

also

&dtml-title;

will do the same thing.

hth,
/---------------------------------------------------\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  c.duncan@nlada.org
\---------------------------------------------------/