diff --git a/web/site/instances.php b/web/site/instances.php index e79aa27..34ced06 100644 --- a/web/site/instances.php +++ b/web/site/instances.php @@ -965,7 +965,7 @@ function nullyp($str) { function strip($str,$uri) { if (nullemp($str)) return(null); - //echo '
'.$str.'
'; + echo '
'.htmlentities($str).'
'; $str=preg_replace(['#^\s*#m','#[\r\n]#'],['',' '],$str);// strip all spaces from empty lines, then all carriage return and new line chars $str=preg_replace('##i','
',$str);// convert all "
" to "
" $str=preg_replace('#]*>#i','',$str); @@ -974,7 +974,7 @@ function strip($str,$uri) { //$str=preg_replace(['#


#i','#
#i','#
#i','#','