From 56d0f0aa1bb087bf78cd4ec308c939c32bc2b3f6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 14 May 2020 16:42:29 +0200 Subject: [PATCH] enable linkify in description renderer this restores the old behaviour of parsing plain text links into html link Signed-off-by: Robin Appelman --- src/components/card/CardSidebar.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 403a9653c..5f260529f 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -203,7 +203,9 @@ import { formatFileSize } from '@nextcloud/files' import relativeDate from '../../mixins/relativeDate' import AttachmentList from './AttachmentList' -const markdownIt = new MarkdownIt() +const markdownIt = new MarkdownIt({ + linkify: true, +}) markdownIt.use(MarkdownItTaskLists, { enabled: true, label: true, labelAfter: true }) const capabilities = window.OC.getCapabilities() @@ -603,6 +605,10 @@ export default { &::v-deep input { min-height: auto; } + + &::v-deep a { + text-decoration: underline; + } } .modal__content {