diff --git a/views/index.ejs b/views/index.ejs index b7595dc..617252e 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -122,43 +122,7 @@ -
- <%- messages[i].body.replace(/\n/g, '
') %>
+ <% messages[i].body.split('\n').forEach(line => { %>
+ <%= line %>
+ <% }) %>
- <%= messages[i].body%>
+ <% messages[i].body.split('\n').forEach(line => { %>
+ <%= line %>
+ <% }) %>