mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
External bencode library and some other changes.
This commit is contained in:
parent
0ed80b7074
commit
bb6f772627
10 changed files with 137 additions and 85 deletions
|
@ -112,7 +112,7 @@ function bbcode_tpl_compact($text)
|
|||
// prepare a posted message for entry into the database
|
||||
function prepare_message($message)
|
||||
{
|
||||
$message = bbcode::clean_up($message);
|
||||
$message = \TorrentPier\Legacy\BBCode::clean_up($message);
|
||||
$message = htmlCHR($message, false, ENT_NOQUOTES);
|
||||
return $message;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue