update
This commit is contained in:
15
core/plugins/Smarty/modifier.htmlentities.php
Normal file
15
core/plugins/Smarty/modifier.htmlentities.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @param $str
|
||||
* @return unknown_type
|
||||
*/
|
||||
|
||||
function smarty_modifier_htmlentities($str){
|
||||
|
||||
$str = str_replace('"', """, $str);
|
||||
$str = str_replace("'", "'", $str);
|
||||
return $str;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user