Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2018-10-11 23:02:44 +0300
committerGitHub <noreply@github.com>2018-10-11 23:02:44 +0300
commitcdbf944146cea42a4725eb9fa814c51c7b32b17b (patch)
treef52355de561266281f8b9b6db5dd9e04f66f3286 /plugins/Annotations
parent221a25f83989df5ea155fd2af6086bb48b280f28 (diff)
Tweaks to escaping strategy in a couple places (#13500)
* Use correct filter in certain places in twig templates. * Another filter change. * Reverse encoding strategy in site selector. * Tweak to annotation escaping. * Fix couple more double encoding issues. * encode report name on unsubscription page * Escape site name in quickaccess directive.
Diffstat (limited to 'plugins/Annotations')
-rw-r--r--plugins/Annotations/templates/getEvolutionIcons.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Annotations/templates/getEvolutionIcons.twig b/plugins/Annotations/templates/getEvolutionIcons.twig
index 1c0e441137..e024f3bef5 100644
--- a/plugins/Annotations/templates/getEvolutionIcons.twig
+++ b/plugins/Annotations/templates/getEvolutionIcons.twig
@@ -5,7 +5,7 @@
<span data-date="{{ date }}" data-count="{{ counts.count }}" data-starred="{{ counts.starred }}"
{% if counts.count == 0 %}title="{{ 'Annotations_AddAnnotationsFor'|translate(date) }}"
{% elseif counts.count == 1 %}title="{{ 'Annotations_AnnotationOnDate'|translate(date,
- counts.note)|raw }}
+ (counts.note|e('html_attr')))|raw }}
{{ 'Annotations_ClickToEditOrAdd'|translate }}"
{% else %}}title="{{ 'Annotations_ViewAndAddAnnotations'|translate(date) }}"{% endif %}>
<img src="plugins/Morpheus/images/{% if counts.starred > 0 %}annotations_starred.png{% else %}annotations.png{% endif %}" width="16" height="16"/>