mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:17:49 +01:00
use escapeHtml
This commit is contained in:
parent
5072d0e0b5
commit
b30511af92
1 changed files with 1 additions and 1 deletions
|
@ -1604,7 +1604,7 @@ WIP! </a>
|
|||
<% } %>
|
||||
</h5>
|
||||
<p class="comment" style="font-weight:700">
|
||||
<%- x.content %><br><br>
|
||||
<%- escapeHtml(x.content) %><br><br>
|
||||
<% if (x.like_count === 0) { %><i class="fa-light fa-thumbs-up"></i> | <i class="fa-light fa-thumbs-down"></i>
|
||||
<% } else { %><i class="fa-light fa-thumbs-up"></i>
|
||||
<%= x.like_count %> | <i class="fa-light fa-thumbs-down"></i>
|
||||
|
|
Loading…
Reference in a new issue