If you’re finding code within PRE tags are getting additional backslashes, this following post by mlambie may help out:
At the risk of being pedantic, the code [in wpautop()] should read:
$pee = preg_replace(
‘!(<pre.*?>)(.*?)</pre>!ise’, ” stripslashes(’$1′)
. stripslashes(clean_pre(’$2′))
. ‘</pre>’ “, $pee);
Thanks mlambie!