Skip to content
Snippets Groups Projects
Commit 9d944c32 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Properly format text thread bodies

parent bf07dfa2
No related branches found
No related tags found
No related merge requests found
......@@ -1404,7 +1404,7 @@ class TextThreadBody extends ThreadBody {
switch ($output) {
case 'html':
return '<div style="white-space:pre-wrap">'
.Format::clickableurls($this->body).'</div>';
.Format::clickableurls(Format::htmlchars($this->body)).'</div>';
case 'email':
return '<div style="white-space:pre-wrap">'.$this->body.'</div>';
case 'pdf':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment