aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-10-10 03:04:31 +0200
committerM. Dent <dentm42@gmail.com>2018-10-10 03:04:31 +0200
commit350db4ed9fc90347857323e2b81cb37402bd4800 (patch)
treea9fb9e476dcece4d1c0c9e516427303c3ff092b0 /view/tpl/wiki_page_list.tpl
parent37b94bf5fa71835fe50af6f862e124e24b5db4b4 (diff)
parent1ccca9863c0b400b6597fe1a4ae46c697dd3550c (diff)
downloadvolse-hubzilla-350db4ed9fc90347857323e2b81cb37402bd4800.tar.gz
volse-hubzilla-350db4ed9fc90347857323e2b81cb37402bd4800.tar.bz2
volse-hubzilla-350db4ed9fc90347857323e2b81cb37402bd4800.zip
Merge branch 'fix-wiki-escaping' into 'dev'
Fix escaping quote for wiki_delete_page See merge request hubzilla/core!1324
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>