testing quotes

WordPress (this blog engine) changes quotes (") to (\"). Let see if

php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off

have fixed the problem.

Update: good, it seems so.


Updated, 10 March

Unfortunately, it doesn't help. For some reason, quotes inside the "pre" tag get a backslash. And quotes in text are smart. I hate it!


Updated, 12 March

Finally fixed by hacking the code. I've commented out smart quotes stuff and corrected the following line in "wp-includes/functions-formatting.php":

$pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise',
  " stripslashes('$1') .  clean_pre('$2')  . '</pre>' ", $pee);

I changed



Categories: blogging