forked from Cavemanon/cavepaintings
filter html before anything else
git-svn-id: file:///home/shish/svn/shimmie2/trunk@694 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -223,9 +223,10 @@ class TextFormattingEvent extends Event {
|
||||
var $stripped;
|
||||
|
||||
public function TextFormattingEvent($text) {
|
||||
$this->original = $text;
|
||||
$this->formatted = $text;
|
||||
$this->stripped = $text;
|
||||
$h_text = html_escape(trim($text));
|
||||
$this->original = $h_text;
|
||||
$this->formatted = $h_text;
|
||||
$this->stripped = $h_text;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user