projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a74c53
)
add entity ignore so we dont get empty strings from html speciachars
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2020 06:32:33 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2020 06:32:33 +0000
(14:32 +0800)
HTML/Template/Flexy/Compiler/Flexy.php
patch
|
blob
|
history
diff --git
a/HTML/Template/Flexy/Compiler/Flexy.php
b/HTML/Template/Flexy/Compiler/Flexy.php
index
993818a
..
ae99eba
100644
(file)
--- a/
HTML/Template/Flexy/Compiler/Flexy.php
+++ b/
HTML/Template/Flexy/Compiler/Flexy.php
@@
-527,7
+527,7
@@
class HTML_Template_Flexy_Compiler_Flexy extends HTML_Template_Flexy_Compiler {
case ' ':
$prefix = 'echo htmlspecialchars(';
// add language ?
- $suffix = ')';
+ $suffix = '
,ENT_IGNORE
)';
break;
default:
$prefix = 'echo $this->plugin("'.trim($element->modifier) .'",';