Fix #12 Avoid double encoding comment text output and author name, already filtered and escaped when stored

This commit is contained in:
Flavio Copes 2015-12-11 12:19:55 +01:00
parent 7b8d4048b1
commit 825cfe1b1b
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@
{% for comment in grav.twig.comments|array_reverse %} {% for comment in grav.twig.comments|array_reverse %}
<tr> <tr>
<td> <td>
{{comment.text|e}} {{comment.text}}
<br /> <br />
{{'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}}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}