mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Remove unused "escape_with_cdata" function
This commit is contained in:
parent
bcbb02f52f
commit
df66227729
@ -52,11 +52,6 @@ function cut_string($string, $length = 75, $ellipsis = '')
|
||||
return $result;
|
||||
}
|
||||
|
||||
function escape_with_cdata($text)
|
||||
{
|
||||
return "<![CDATA[" . str_replace("]]>", "]]>]]><![CDATA[", $text) . "]]>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Simple HTML sanitation.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user