Skip to content

Commit 43f6415

Browse files
committed
Fix bad rendering of comment data
1 parent 3ad6480 commit 43f6415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Comment.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function getContent($prepare) {
154154
}
155155
$md = new Parsedown();
156156
$md->setSafeMode(true); // unsafe user-input
157-
return $md->text(filter_var($this->content, FILTER_SANITIZE_FULL_SPECIAL_CHARS));
157+
return $md->text($this->content);
158158
}
159159

160160
public function getCreatedDateTime() {

0 commit comments

Comments
 (0)