Forum Replies Created

Viewing 1 replies (of 1 total)
  • mlambie

    (@mlambie)

    At the risk of being pedantic, the code should read:

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

    The second stripslashes was originally stripslahes. Easy typo to make. This works well for me.

Viewing 1 replies (of 1 total)