Skip to content

Commit 80d1a8c

Browse files
committed
Work: Remove xss for comment list
1 parent ababd88 commit 80d1a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/template/default/work/comments.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<p>
1515
{% if comment.comment is not empty %}
16-
{{ comment.comment }}
16+
{{ comment.comment|remove_xss }}
1717
{% else %}
1818
{{ 'HereIsYourFeedback' | get_lang }}
1919
{% endif %}

0 commit comments

Comments
 (0)