From c263308d8229735c04b7aeacf4c224f0a5b866d2 Mon Sep 17 00:00:00 2001 From: mattab Date: Mon, 24 Jun 2013 21:47:59 +1200 Subject: See the branch 2.x-twig for list of commits on twig... Kuddos @halfdan for your work! Here are some updates: * Removing |raw from the codebase. * Disabling autoescape by default (in Twig_Environment constructor: 'autoescape' => false ) * Adding |e('html') where html entities are needed * Fixing parse error in goals --- plugins/VisitTime/templates/index.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/VisitTime') diff --git a/plugins/VisitTime/templates/index.twig b/plugins/VisitTime/templates/index.twig index bb41160beb..b463ec6e1f 100644 --- a/plugins/VisitTime/templates/index.twig +++ b/plugins/VisitTime/templates/index.twig @@ -1,9 +1,9 @@

{{ 'VisitTime_LocalTime'|translate }}

- {{ dataTableVisitInformationPerLocalTime|raw }} + {{ dataTableVisitInformationPerLocalTime }}

{{ 'VisitTime_ServerTime'|translate }}

- {{ dataTableVisitInformationPerServerTime|raw }} + {{ dataTableVisitInformationPerServerTime }}
-- cgit v1.2.3