requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js

Home Page:https://js.wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brackets in pre-formatted code block break page display

shrank opened this issue · comments

Actual behavior

If you put the example below into a pre-formatted block, it breaks the page display. The rendering itself seems to be fine. The HTML is delivered to the browser and looks correct. But the code is not display, instead, all content of is removed.

<body>
<!---->
</body>

Expected behavior

show rendered html

Steps to reproduce the behavior

put this into an empty page:

EXAMPLE START
```
{{
Hello World }}
```
EXAMPLE END

tested on Version 2.5.170

Upgrade to latest version.