From 68403823a221319a8ff3bc4a9d427eb907906cdd Mon Sep 17 00:00:00 2001 From: Michal Chwedczuk Date: Mon, 2 Jul 2018 21:57:59 +0200 Subject: [PATCH] removing pure HTML in favor of plaintext --- src/renderer/components/BoardItem.vue | 16 ++++++++++------ .../components/settings/GeneralSettings.vue | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/renderer/components/BoardItem.vue b/src/renderer/components/BoardItem.vue index aca306d..3ede7eb 100644 --- a/src/renderer/components/BoardItem.vue +++ b/src/renderer/components/BoardItem.vue @@ -20,7 +20,15 @@ + v-if="markdownMode" + > + + + {{textWithLink}} + {{created | simpleDate}} @@ -114,11 +122,7 @@ } }) } - return this.text.autoLink({ - callback: function (url) { - return `${url.split('/')[2]}` - } - }) + return this.text } }, filters: { diff --git a/src/renderer/components/settings/GeneralSettings.vue b/src/renderer/components/settings/GeneralSettings.vue index f4b96ef..439dab2 100644 --- a/src/renderer/components/settings/GeneralSettings.vue +++ b/src/renderer/components/settings/GeneralSettings.vue @@ -25,8 +25,8 @@ Edit item mode support: - - HTML + + Plaintext Markdown