From b1fa9b329e6e48a4a1b5968ad36dd030c8e5b791 Mon Sep 17 00:00:00 2001
From: Adam Coldrick
Date: Wed, 6 May 2020 22:20:45 +0100
Subject: [PATCH] Use the MarkdownContent component to render markdown fields
The Story description and Comment content fields are actually markdown.
This commit switches to using the new MarkdownContent component to
render them, rather than just directly interpolating them.
---
src/components/EventComment.vue | 8 +++++---
src/views/StoryDetail.vue | 6 +++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/components/EventComment.vue b/src/components/EventComment.vue
index 68f3722..47cd474 100644
--- a/src/components/EventComment.vue
+++ b/src/components/EventComment.vue
@@ -5,17 +5,19 @@
commented on {{ createdDate.toDateString() }}
at {{ createdDate.toLocaleTimeString() }}
-
- {{ event.comment.content }}
-
+