mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
better cleaning of post title SC#251; merged from MOODLE_16_STABLE
This commit is contained in:
parent
1b8991fd9c
commit
62b504d20b
@ -79,7 +79,7 @@
|
||||
$errordestination = $SESSION->fromurl;
|
||||
}
|
||||
|
||||
$post->subject = strip_tags($post->subject, '<lang><span>'); // Strip all tags except lang
|
||||
$post->subject = clean_text(strip_tags($post->subject, '<lang><span>')); // Strip all tags except lang
|
||||
|
||||
//$post->message = clean_text($post->message, $post->format); // Clean up any bad tags
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user