[Zope] html_quote problem

Kevin Carlson khcarlso@bellsouth.net
Mon, 7 Oct 2002 09:30:42 -0400


Hi everyone,

I am retrieving some text from an RDB to display on a page.  My problem, a
browser error, occurs when there is an apostrophe ['] character in the text
returned from the database.  My first instinct was to use the html_quote
attribute for the var tag, but that does not work for an apostrophe
character.  Here is an example:

   text returned from database = "Test' test test"

   <dtml-var dbText html_quote>


This still produces the ' character in the html.  Am I missing something?
Does html_quote handle this character?

Using Zope 2.5.1, MySQL 3.23.51


Thanks,

Kevin