diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-06-24 13:47:59 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-06-24 13:47:59 +0400 |
commit | c263308d8229735c04b7aeacf4c224f0a5b866d2 (patch) | |
tree | e0df779805527709f86f682eaf8b70f23218243a /plugins/Actions/templates | |
parent | 0b83450ed5b8d6f278f4266347e2ab9736c62bd1 (diff) |
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
Diffstat (limited to 'plugins/Actions/templates')
-rw-r--r-- | plugins/Actions/templates/indexSiteSearch.twig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Actions/templates/indexSiteSearch.twig b/plugins/Actions/templates/indexSiteSearch.twig index 2b9ea3afbc..d541b9ed62 100644 --- a/plugins/Actions/templates/indexSiteSearch.twig +++ b/plugins/Actions/templates/indexSiteSearch.twig @@ -1,17 +1,17 @@ <div id='leftcolumn'> <h2>{{ 'Actions_WidgetSearchKeywords'|translate }}</h2> - {{ keywords|raw }} + {{ keywords }} <h2>{{ 'Actions_WidgetSearchNoResultKeywords'|translate }}</h2> - {{ noResultKeywords|raw }} + {{ noResultKeywords }} {% if categories is defined %} <h2>{{ 'Actions_WidgetSearchCategories'|translate }}</h2> - {{ categories|raw }} + {{ categories }} {% endif %} </div> <div id='rightcolumn'> <h2>{{ 'Actions_WidgetPageUrlsFollowingSearch'|translate }}</h2> - {{ pagesUrlsFollowingSiteSearch|raw }} + {{ pagesUrlsFollowingSiteSearch }} </div> |