forked from leftypol/leftypol
Reply to PMs with quote
This commit is contained in:
parent
9dc1e98704
commit
6b77865110
2 changed files with 31 additions and 4 deletions
|
@ -919,6 +919,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
function quote($body) {
|
||||
$body = str_replace('<br/>', "\n", $body);
|
||||
|
||||
$body = strip_tags($body);
|
||||
|
||||
$body = preg_replace("/(^|\n)/", '$1>', $body);
|
||||
|
||||
return $body . "\n";
|
||||
}
|
||||
|
||||
function markup(&$body) {
|
||||
global $board, $config;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue