Possible issue with '&' -   and & etc being converted to   and & etc

From: Date: Fri, 14 Feb 2003 13:29:17 +0000
Subject: Possible issue with '&' -   and & etc being converted to   and & etc
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7760@lists.php.net to get a copy of this message
I've just updated to v2.4.2 from v2.3. I have found that values passed through to smarty (like an array for use in html_options) has its values made 'xhtml-safe' by converting all '&' to & However, if the values are already safe (and use & and   etc) then the '&' character is still converted to & thus changing the values to   or & I guess the code to make safe html should treat the   & etc as a single entities, rather than just converting the '&' on its own. Cheers, Tom

« previous php.smarty.general (#7760) next »