summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-20 23:46:15 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-20 23:46:15 +0100
commit82fa7cecf9fd4c8cd71fadc2d5530f36c0483073 (patch)
treeea7cda90db15eaae70153b5bc90f316028abf156 /views
parent05e3cf56318fa16b79e08cff0fa69a939aab69e2 (diff)
white-space pre-wrap for real
Diffstat (limited to 'views')
-rw-r--r--views/pages/message.ejs2
-rw-r--r--views/partials/comments.ejs2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/pages/message.ejs b/views/pages/message.ejs
index 6a81d46..f6399e7 100644
--- a/views/pages/message.ejs
+++ b/views/pages/message.ejs
@@ -21,7 +21,7 @@
<a href='#' class='discard_link'>discard</a>
</span>
<div class="body">
- {{body}}
+ <span class="contents">{{body}}</span>
</div>
</script>
</div>
diff --git a/views/partials/comments.ejs b/views/partials/comments.ejs
index b47702c..50abe6e 100644
--- a/views/partials/comments.ejs
+++ b/views/partials/comments.ejs
@@ -7,7 +7,7 @@
</td>
<td colspan="2" class="comment">
<div class="body">
- {{comment}}
+ <span class="contents">{{comment}}</span>
<div class="date">
{{date}} {{time}}<br>
</div>