fix user pages

This commit is contained in:
biglyderv 2025-05-28 00:35:17 -04:00
parent cc33cde3e7
commit 38e9fd22a4
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 8 additions and 4 deletions

View file

@ -23,6 +23,6 @@
</a>
<% } else if (contentN.type == 'link') { %>
<a class='link' href='<%= contentN.href %>'><%= contentN.name %></a>
<% } else if (contentN.data.replaceAll(' ','').length > 0) { %>
<% } else if (contentN.data && contentN.data.replaceAll(' ','').length > 0) { %>
<span class='commentbox'><%= contentN.data %></span>
<% } } %>