Fix #12 Avoid double encoding comment text output and author name, already filtered and escaped when stored
This commit is contained in:
parent
7b8d4048b1
commit
825cfe1b1b
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue