diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-27 13:52:08 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-27 13:52:08 +0100 |
commit | a6d13f290b235b5c4a511079b622866573e8d2e3 (patch) | |
tree | c35bf47f07a4e61b9602d4b13bb961138b7bb550 /view/tpl/wiki.tpl | |
parent | b6cad08273f87b22c020f11242a4ef2797cffbe1 (diff) | |
download | volse-hubzilla-a6d13f290b235b5c4a511079b622866573e8d2e3.tar.gz volse-hubzilla-a6d13f290b235b5c4a511079b622866573e8d2e3.tar.bz2 volse-hubzilla-a6d13f290b235b5c4a511079b622866573e8d2e3.zip |
fix js issue in markdown mimetype wikis if content contains quotes
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r-- | view/tpl/wiki.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index af6b6800e..ea31c23a3 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -107,7 +107,7 @@ <script> window.wiki_resource_id = '{{$resource_id}}'; window.wiki_page_name = '{{$page}}'; - window.wiki_page_content = {{if !$mimeType || $mimeType == 'text/markdown'}}{{$content}}{{else}}`{{$content}}`{{/if}}; + window.wiki_page_content = `{{$content}}`; window.wiki_page_commit = '{{$commit}}'; $("#generic-modal-ok-{{$wikiModalID}}").removeClass('btn-primary'); |