Reverted changes to trim_message tool
htmlspecialchars_decode() gets applied in function get_sub_taged_string() now
This commit is contained in:
@@ -49,7 +49,7 @@ class phpbb_trim_message
|
||||
*/
|
||||
public function __construct($message, $bbcode_uid, $length, $append_str = ' [...]', $tolerance = 25)
|
||||
{
|
||||
$this->message = htmlspecialchars_decode($message);
|
||||
$this->message = $message;
|
||||
$this->bbcode_uid = $bbcode_uid;
|
||||
$this->append_str = $append_str;
|
||||
$this->length = (int) $length;
|
||||
|
||||
Reference in New Issue
Block a user