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