[eluser]GSV Sleeper Service[/eluser]
forget about $this->badger->mushroom("snake"), it was just an example, it means nothing and has nothing to do with this problem. let me explain again
I create some text eg
here is some text<code>example code goes here</code>
when I pass this text through auto_typography() I get
[code]<p>here is some text</p><code>example code goes here</p></code>[code]
and as you can see, an extra close paragraph tag is being added within the code tag.