Lepše prikažemo sporočila - upoštevamo novo vrstico.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
</h5>
|
||||
|
||||
<p>
|
||||
<%= messages[i].body%>
|
||||
<%- messages[i].body.replace(/\n/g, '<br>') %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="text-xs text-gray-500 mt-3">Posted on: <%= messages[i].createdAt %>
|
||||
|
Reference in New Issue
Block a user