[Plugin: PHP Code Widget] Escape Slashes Not Kept
-
I’m trying to use this plugin but my escape slashes are removed when I save the widget code.
This
function nl2br2($string) { $string = str_replace(array("\r\n", "\r", "\n"), "<br />", $string); return $string; }Turns to
function nl2br2($string) { $string = str_replace(array("rn", "r", "n"), "<br />", $string); return $string; }Any thoughts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: PHP Code Widget] Escape Slashes Not Kept’ is closed to new replies.