Skip to content

Commit 87af449

Browse files
themightychriswww-data
authored andcommitted
Prevent HTML in comments
1 parent ddbcbce commit 87af449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html-templates/subtemplates/comments.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
{/if}
6262

6363
</header>
64-
<div class="message-body">{$Comment->Message|markdown}</div>
64+
<div class="message-body">{$Comment->Message|escape|markdown}</div>
6565
</div>
6666
</article>
6767
{foreachelse}

0 commit comments

Comments
 (0)