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

Request #5752 htmlentities modifier
Submitted: 2005-10-22 02:34 UTC
From: pear at bicou dot com Assigned: alan_k
Status: Closed Package: HTML_Template_Flexy
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-10-22 02:34 UTC] pear at bicou dot com
Description: ------------ A little addition to output htmlentities strings. Test script: --------------- --- Flexy.bak/Compiler/Flexy.php 2005-10-22 04:29:34.051125000 +0200 +++ Flexy/Compiler/Flexy.php 2005-10-22 04:28:07.098000000 +0200 @@ -516,6 +516,10 @@ $prefix = 'echo urlencode('; $suffix = ')'; break; + case 'e': + $prefix = 'echo htmlentities('; + $suffix = ')'; + break; case 'r': $prefix = 'echo \'<pre>\'; echo htmlspecialchars(print_r('; $suffix = ',true)); echo \'</pre>\';'; --- Flexy.bak/Compiler/Standard.php 2005-08-28 22:57:40.343750000 +0200 +++ Flexy/Compiler/Standard.php 2005-10-22 04:09:20.801125000 +0200 @@ -470,6 +470,10 @@ $prefix = 'echo urlencode('; $suffix = ')'; break; + case 'e': + $prefix = 'echo htmlentities('; + $suffix = ')'; + break; case 'r': $prefix = 'echo \'<pre>\'; echo htmlspecialchars(print_r('; $suffix = ',true)); echo \'</pre>\';';

Comments

 [2005-10-25 02:22 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!