Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Request #12686 input tag: htmlspecialchars is applied twice to value="{xxx}"
Submitted: 2007-12-14 07:19 UTC
From: setafujisystems Assigned:
Status: Verified Package: HTML_Template_Flexy (version 1.2.5)
PHP Version: 5.2.0 OS: Linux(RHEL)
Roadmaps: (Not assigned)    
Subscription  


 [2007-12-14 07:19 UTC] setafujisystems (Seta Fujisystems)
Description: ------------ Templates like: <input type="hidden" name="foo" value="{bar}" /> became HTML like: <input type="hidden" name="foo" value="&lt;a&gt;" /> when replaced with bar='<a>' The expected result was <input type="hidden" name="foo" value="<a>" /> <input type="hidden" name="foo" value="{bar:h}" /> <input type="hidden" name="foo" value="{bar}" flexy:ignore="yes" /> did work properly. <span test="{bar}"/> had no problem. <input type="text" name="foo" value="{bar}" /> had same problem # I know Flexy can dynamically make hidden tags, but sometimes I need the above way.

Comments

 [2008-01-01 13:28 UTC] alan_k (Alan Knowles)
That's what flexy:ignore="yes" is for. It may be a bit of unexpected behavior, so I'm flagging this as verified - pending patch submission. (eg. it will not get fixed without a patch being added to this report)
 [2008-01-01 13:32 UTC] alan_k (Alan Knowles)
changing as a feature request, as it's not critical