aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-10-10 01:01:05 +0000
committerMario <mario@mariovavti.com>2018-10-10 11:06:07 +0200
commit0daa462207c0fdb88c091b07de020d1facc5430d (patch)
treef8f1df80adbfe55b7788437329dd7cf958a9ea87 /view/tpl/wiki_page_list.tpl
parentd8f79f48e9b4859383eaeea35da6d32045f55ae1 (diff)
downloadvolse-hubzilla-0daa462207c0fdb88c091b07de020d1facc5430d.tar.gz
volse-hubzilla-0daa462207c0fdb88c091b07de020d1facc5430d.tar.bz2
volse-hubzilla-0daa462207c0fdb88c091b07de020d1facc5430d.zip
Fix escaping quote for wiki_delete_page
(cherry picked from commit 1ccca9863c0b400b6597fe1a4ae46c697dd3550c)
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index d75f22f64..7a045bba4 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -7,7 +7,7 @@
{{foreach $pages as $page}}
<li class="nav-item nav-item-hack" id="{{$page.link_id}}">
{{if $page.resource_id && $candel}}
- <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title}}', '{{$page.title}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
+ <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title|escape:'quotes'}}', '{{$page.title|escape:'url'}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
{{/if}}
<a class="nav-link" href="/wiki/{{$channel_address}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a>
</li>