mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function escape_with_cdata($text)
|
|
||||||
{
|
|
||||||
return "<![CDATA[" . str_replace("]]>", "]]>]]><![CDATA[", $text) . "]]>";
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple HTML sanitation.
|
* Simple HTML sanitation.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user