function quoteLight($comment){
return preg_replace('/(^|<br \/>)((?:>|>).*?)(?=<br \/>|$)/u', '$1<span class="unkfunc">$2</span>', $comment);
}
+/* # quoting */
function quoteLight2($comment){
return preg_replace('/(^|<br \/>)((?:#|#).*?)(?=<br \/>|$)/u', '$1<span class="unkfunc2">$2</span>', $comment);
}
$str .= str_repeat("</span>", substr_count($str, "<span") - substr_count($str, "</span"));
return array($str, $abbr);
}
-?>
\ No newline at end of file
+?>