Remove unused "escape_with_cdata" function

This commit is contained in:
Dmitriy Simushev 2014-11-11 12:21:02 +00:00
parent bcbb02f52f
commit df66227729

View File

@ -52,11 +52,6 @@ function cut_string($string, $length = 75, $ellipsis = '')
return $result;
}
function escape_with_cdata($text)
{
return "<![CDATA[" . str_replace("]]>", "]]>]]&gt;<![CDATA[", $text) . "]]>";
}
/**
* Simple HTML sanitation.
*