requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
100 stars 75 forks source link

Escaping "{" character with backslash in codeblock breaks the whole page #192

Closed FelixSFD closed 4 years ago

FelixSFD commented 5 years ago

Actual behavior

Codeblocks containing {sometext} are not rendered correctly in some cases. And if we escape the {, the whole page breaks.

Expected behavior

The output should look like this:

state: open and not #my and not reviewer: {APplus Team} doesn't show the last part

state: open and not #my and not reviewer: \{APplus Team\} breaks the whole page

Steps to reproduce the behavior

Add the code above to a site and save the file.

FelixSFD commented 4 years ago

The issue is resolved in Version 2.0.12