Slashes inserted everywhere in posts
Posted: Mon Feb 04, 2008 8:10 pm
I don't know if this qualifies as a bug. It appears that my host has recently done a massive update, perhaps including changing the PHP version (it's now 4.4.7). The result of this for me has been that when I edit or create a post, slashes are inserted before every apostrophe, quote, and slash. Thus, I type "aren't" and, upon hitting save, I see (and on the web is) the word "aren/'t".
I googled this and there's a post on this forum from a few years ago saying that the problem was likely PHP's smart quotes.
http://board.s9y.org/viewtopic.php?p=26 ... a77bffc245
The solution was to put the line "set_magic_quotes_runtime( 0 );" into the file serendipity_functions.inc.php. This file no longer seems to exist in Serendipity. (?) So I'm not sure what to do. Any ideas? Thanks!
I googled this and there's a post on this forum from a few years ago saying that the problem was likely PHP's smart quotes.
http://board.s9y.org/viewtopic.php?p=26 ... a77bffc245
The solution was to put the line "set_magic_quotes_runtime( 0 );" into the file serendipity_functions.inc.php. This file no longer seems to exist in Serendipity. (?) So I'm not sure what to do. Any ideas? Thanks!