diff --git a/CHANGELOG.md b/CHANGELOG.md index c820e1c..dfef2f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.1.2 +## 12/11/2015 + +1. [](#improved) + Fix double escaping comments text and author + # v1.1.1 ## 12/10/2015 diff --git a/blueprints.yaml b/blueprints.yaml index 7416773..67e25a3 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ name: Comments -version: 1.1.1 +version: 1.1.2 description: Adds a commenting functionality to your site icon: comment author: 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 %}