aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-10 10:39:28 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-10 10:39:28 +0200
commitd29caa099af2d132978e634a454a29d5c85c23fe (patch)
tree03e4f69aa9e64ef987a3290fdb28e780cfe58f93 /view
parent350db4ed9fc90347857323e2b81cb37402bd4800 (diff)
downloadvolse-hubzilla-d29caa099af2d132978e634a454a29d5c85c23fe.tar.gz
volse-hubzilla-d29caa099af2d132978e634a454a29d5c85c23fe.tar.bz2
volse-hubzilla-d29caa099af2d132978e634a454a29d5c85c23fe.zip
fix some more wiki issues
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wiki.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 0f6fad8e3..979f38903 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -98,8 +98,8 @@
<script>
window.wiki_resource_id = '{{$resource_id}}';
- window.wiki_page_name = '{{$page}}';
- window.wiki_page_content = '{{$content|escape:'javascript'}}';
+ window.wiki_page_name = '{{$page|escape:"javascript"}}';
+ window.wiki_page_content = '{{$content|escape:"javascript"}}';
window.wiki_page_commit = '{{$commit}}';
window.saved = true;
@@ -122,7 +122,7 @@
if (data.success) {
$('#rename-page-form-wrapper').hide();
window.console.log('data: ' + JSON.stringify(data));
- window.wiki_page_name = data.name.urlName;
+ window.wiki_page_name = data.name.htmlName;
$('#wiki-header-page').html(data.name.htmlName);
wiki_refresh_page_list();
} else {