Slashes, slashes, everywhere
Posted: Sat Nov 29, 2003 8:56 pm
Hi,
not sure if this is a bug, or simply a missing feature interacting with the server settings:
I get loads of escaped quotes and apostrophes on my page (i.e. \' instead of ') and they seem to become more each time I edit an article.
I suppose I'll have to insert some calls to stripcslashes() in a couple of places, but I have no idea where I would do that. In markup_text() in serendipity_functions.php? Anywhere else?
Any hints for a short-term fix I can apply right now would be appreciated. In addition, it'd be nice if this could be added as a preference, since I know there are a couple of PHP setups that insist on escaping these characters.
Cheers,
-- M. Uli Kusterer[/b]
not sure if this is a bug, or simply a missing feature interacting with the server settings:
I get loads of escaped quotes and apostrophes on my page (i.e. \' instead of ') and they seem to become more each time I edit an article.
I suppose I'll have to insert some calls to stripcslashes() in a couple of places, but I have no idea where I would do that. In markup_text() in serendipity_functions.php? Anywhere else?
Any hints for a short-term fix I can apply right now would be appreciated. In addition, it'd be nice if this could be added as a preference, since I know there are a couple of PHP setups that insist on escaping these characters.
Cheers,
-- M. Uli Kusterer[/b]