From 825cfe1b1b6f8f9b87072c92e99c94858d6f8acf Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Fri, 11 Dec 2015 12:19:55 +0100 Subject: [PATCH] Fix #12 Avoid double encoding comment text output and author name, already filtered and escaped when stored --- templates/partials/comments.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/partials/comments.html.twig b/templates/partials/comments.html.twig index 7a798e1..691dd86 100644 --- a/templates/partials/comments.html.twig +++ b/templates/partials/comments.html.twig @@ -35,9 +35,9 @@ {% for comment in grav.twig.comments|array_reverse %} - {{comment.text|e}} + {{comment.text}}
- {{'PLUGIN_COMMENTS.WRITTEN_ON'|t}} {{comment.date|e}} {{'PLUGIN_COMMENTS.BY'|t}} {{comment.author|e}} + {{'PLUGIN_COMMENTS.WRITTEN_ON'|t}} {{comment.date|e}} {{'PLUGIN_COMMENTS.BY'|t}} {{comment.author}} {% endfor %}