aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index 801cb17fd..5f28d6b12 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -53,7 +53,7 @@
</td>
<td><i class="fa fa-download" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;"></i></td>
{{if $owner}}
- <td><i class="fa fa-trash-o drop-icons" onclick="wiki_delete_wiki('{{$wiki.title}}', '{{$wiki.resource_id}}'); return false;"></i></td>
+ <td><i class="fa fa-trash-o drop-icons" onclick="wiki_delete_wiki('{{$wiki.title|escape:'javascript'}}', '{{$wiki.resource_id}}'); return false;"></i></td>
{{/if}}
</tr>
{{if $owner}}