just twiddled things about and am now 100% positive its fine. I changed a line in the functions_show thread from
PHP Code:
$post['message']=preg_replace("<!--GAL_REMOVAL--> ","",$post['message']);
to
PHP Code:
$post['message']=preg_replace("(<!--GAL_REMOVAL--> )","",$post['message']);
Results in safemode can be seen here:
http://www.thenailgeek.com/showthread.php?t=12462
Note that onycholysis and prep are keywords (the manual URLs in the post example are ficticious but show that they dont get screwed up by the autolinker)