diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index 46b0425014..553948bb36 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1323,7 +1323,8 @@ function initWikiForm() { _csrf: csrf, mode: 'gfm', context: $editArea.data('context'), - text: plainText + text: plainText, + wiki: true }, (data) => { preview.innerHTML = `<div class="markdown ui segment">${data}</div>`; $(preview).find('pre code').each((_, e) => { |