Skip to content

Commit

Permalink
Don't escape the code so the markdown lib can do it
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jan 26, 2021
1 parent 9f41041 commit b3e4d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/APIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function renderAnnouncement(Announcement $announcement): array {
'author' => $displayName,
'time' => $announcement->getTime(),
'subject' => $announcement->getSubject(),
'message' => $announcement->getParsedMessage(),
'message' => $announcement->getMessage(),
'groups' => null,
'comments' => $announcement->getAllowComments() ? $this->manager->getNumberOfComments($announcement) : false,
];
Expand Down

0 comments on commit b3e4d57

Please sign in to comment.