diff -r a932ce8c4827 -r 98d80b672f3c punbb/include/parser.php --- a/punbb/include/parser.php Sun Jun 15 01:42:31 2008 -0400 +++ b/punbb/include/parser.php Sat Apr 11 16:47:10 2009 -0400 @@ -448,8 +448,6 @@ if ($pun_config['o_censoring'] == '1') $text = censor_words($text); - $text = htmlspecialchars($text); - if ($pun_config['o_make_links'] == '1') $text = do_clickable($text); @@ -466,11 +464,7 @@ $text = preg_replace('#\[img\]((ht|f)tps?://)([^\s<"]*?)\[/img\]#e', 'handle_img_tag(\'$1$3\', true)', $text); } } - - // Deal with newlines, tabs and multiple spaces - $pattern = array("\n", "\t", ' ', ' '); - $replace = array('
', '    ', '  ', '  '); - $text = str_replace($pattern, $replace, $text); - - return $text; + + // Enano-specific! + return RenderMan::render($text); }