diff --git a/lib/Db/Entities/Terms.php b/lib/Db/Entities/Terms.php index 52f93e4b..12b138a7 100644 --- a/lib/Db/Entities/Terms.php +++ b/lib/Db/Entities/Terms.php @@ -29,6 +29,7 @@ class Terms extends Entity implements \JsonSerializable { public function jsonSerialize(): array { $parsedown = new \Parsedown(); + $parsedown->setSafeMode(true); return [ 'id' => $this->getId(),