From 096259dc3f535c75ebf3da0fc5ee807c0769ff7c Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Sun, 17 Jan 2016 20:55:55 +0100 Subject: [PATCH] Escape page title --- themes/grav/templates/pages.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index f508dd59..b6e17908 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -192,7 +192,7 @@

{{ "PLUGIN_ADMIN.ADD_PAGE"|tu }}

{% elseif mode == 'edit' %}

- {{ context.exists ? "PLUGIN_ADMIN.EDIT"|tu ~ " #{context.menu}" : "PLUGIN_ADMIN.CREATE"|tu ~ " #{context.menu}" }} + {{ context.exists ? "PLUGIN_ADMIN.EDIT"|tu ~ " #{context.menu|e}" : "PLUGIN_ADMIN.CREATE"|tu ~ " #{context.menu|e}" }}

{% else %}

{{ "PLUGIN_ADMIN.MANAGE_PAGES"|tu }}