7 Oct
2002
7 Oct
'02
1:30 p.m.
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