Imagine someone posting this in the forums:
Code: Select all
Some default text:
<code>public function foo($bar = "foobar") { ... }</code>Code: Select all
Some default text:
<code>public function foo($bar = "foobar") { ... }</code>If smileys are parsed before the code tags are transformed then end up with img tags in the code and if you you run the smiley code after then you end up with smileys in the actual code tags.
Anyone have any good ideas to get around this?
Thanks!