[eluser]bobbob[/eluser]
So I solved this myself I think.
It has not been widely tested but seems to make sense.
Code:
<?php
$body = stripslashes($body);
$body = str_replace('<!--','<!--',$body);
$body = str_replace('-->','-->',$body);
echo $body;
?>
That would be & l t ; ! - - and - - & g t ; without the spaces as that function is being done on my post too!