Hey,
Saving into a token and restoring at the end?
Thanks, that pointed me in the right direction. The docs are not very clear though. I ended up with this:
return array( $parser->insertStripItem( $html, $parser->mStripState ), 'noparse' => true, 'isHTML' => true );
The tag extension docs mention nothing about the array and extra args stuff, nor the insertStripItem method. They are both on the parser functions docs page, although there it's not mentioned you need both these to get a working result (which I guess is a difference between parser functions and tag extensions). I'll try clearing up the docs a bit soonish, but if someone that's more familiar with this code could do this, it'd be a great help for new devs :)
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --