diff -r a8a21e1c7afa -r c0c445d4a13e punbb/include/parser.php
--- a/punbb/include/parser.php Thu Jul 12 01:04:01 2007 -0400
+++ b/punbb/include/parser.php Thu Jul 12 15:00:35 2007 -0400
@@ -363,7 +363,7 @@
$num_smilies = count($smiley_text);
for ($i = 0; $i < $num_smilies; ++$i)
- $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1$2', $text);
+ $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1$2', $text);
return substr($text, 1, -1);
}