aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-20 19:41:03 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 14:03:24 +0200
commite97dd48b4c046bac86322d91a13fd55d0cf3a99f (patch)
tree65a24525ccc3d86baf39ba42f4592eeffe09da31 /view/tpl
parent5915f31950a7b2314a6718854b7808475d394b44 (diff)
downloadvolse-hubzilla-e97dd48b4c046bac86322d91a13fd55d0cf3a99f.tar.gz
volse-hubzilla-e97dd48b4c046bac86322d91a13fd55d0cf3a99f.tar.bz2
volse-hubzilla-e97dd48b4c046bac86322d91a13fd55d0cf3a99f.zip
even more fine tuning of the markdown purifier - especially when used with the wiki
Diffstat (limited to 'view/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 87c649581..452fd429d 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -104,7 +104,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');