Reply to PMs with quote

This commit is contained in:
Savetheinternet 2011-04-12 19:56:37 +10:00
parent 9dc1e98704
commit 6b77865110
2 changed files with 31 additions and 4 deletions

View file

@ -919,6 +919,16 @@
}
}
function quote($body) {
$body = str_replace('<br/>', "\n", $body);
$body = strip_tags($body);
$body = preg_replace("/(^|\n)/", '$1&gt;', $body);
return $body . "\n";
}
function markup(&$body) {
global $board, $config;