From 7393dccde816bafca2e3efe534fae56339e2c536 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sat, 28 May 2016 12:33:07 -0400 Subject: Page content is loaded from the file on disk --- view/tpl/wiki.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index a18831aa5..26258e7c2 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -86,7 +86,7 @@ var editor = ace.edit("ace-editor"); editor.setTheme("ace/theme/github"); editor.getSession().setMode("ace/mode/markdown"); - editor.getSession().setValue('{{$content}}'); + editor.getSession().setValue({{$content}}); $('#wiki-get-preview').click(function (ev) { $.post("wiki/{{$channel}}/preview", {content: editor.getValue()}, function (data) { -- cgit v1.2.3