add entity ignore so we dont get empty strings from html speciachars
authorAlan Knowles <alan@roojs.com>
Mon, 23 Nov 2020 06:32:33 +0000 (14:32 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Nov 2020 06:32:33 +0000 (14:32 +0800)
HTML/Template/Flexy/Compiler/Flexy.php

index 993818a..ae99eba 100644 (file)
@@ -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) .'",';