aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-20 19:41:03 -0700
committerzotlabs <mike@macgirvin.com>2017-03-20 19:41:03 -0700
commit35fc7328de3237ef9727e6f729ffe4df4697a421 (patch)
treeab8aeb57ace7c03c660edcd740e512de44e0db54 /view/tpl/wiki.tpl
parent7a611c6d47020d227630a96de8026da4dae5f862 (diff)
downloadvolse-hubzilla-35fc7328de3237ef9727e6f729ffe4df4697a421.tar.gz
volse-hubzilla-35fc7328de3237ef9727e6f729ffe4df4697a421.tar.bz2
volse-hubzilla-35fc7328de3237ef9727e6f729ffe4df4697a421.zip
even more fine tuning of the markdown purifier - especially when used with the wiki
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index dbf8b9285..2865adec2 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -108,7 +108,7 @@
window.wiki_resource_id = '{{$resource_id}}';
window.wiki_page_name = '{{$page}}';
// window.wiki_page_content = "{{$content|escape:'javascript'}}";
- window.wiki_page_content = {{$content}};
+ window.wiki_page_content = '{{$content|escape:'quotes'}}';
window.wiki_page_commit = '{{$commit}}';
$("#generic-modal-ok-{{$wikiModalID}}").removeClass('btn-primary');