From c0a1112e9c5f155c9df0366d30f08fd196b3783c Mon Sep 17 00:00:00 2001 From: Julian Gojani Date: Thu, 14 Oct 2021 20:39:51 +0200 Subject: [PATCH] Added light screen, better markdown preview and more --- frontend/src/views/Paste.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Paste.vue b/frontend/src/views/Paste.vue index f7ec1cf..1fec0c4 100644 --- a/frontend/src/views/Paste.vue +++ b/frontend/src/views/Paste.vue @@ -195,7 +195,8 @@ export default { return str; } }); - this.extraContent = md.render(contents) + const EMPTY_CHAR = "‎" + this.extraContent = md.render(contents.replaceAll("
", "\n"+EMPTY_CHAR+"\n")) } } },