enable linkify in description renderer

this restores the old behaviour of parsing plain text links into html link

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman
2020-05-14 16:42:29 +02:00
parent 5a42b1e56a
commit 56d0f0aa1b

View File

@@ -203,7 +203,9 @@ import { formatFileSize } from '@nextcloud/files'
import relativeDate from '../../mixins/relativeDate' import relativeDate from '../../mixins/relativeDate'
import AttachmentList from './AttachmentList' import AttachmentList from './AttachmentList'
const markdownIt = new MarkdownIt() const markdownIt = new MarkdownIt({
linkify: true,
})
markdownIt.use(MarkdownItTaskLists, { enabled: true, label: true, labelAfter: true }) markdownIt.use(MarkdownItTaskLists, { enabled: true, label: true, labelAfter: true })
const capabilities = window.OC.getCapabilities() const capabilities = window.OC.getCapabilities()
@@ -603,6 +605,10 @@ export default {
&::v-deep input { &::v-deep input {
min-height: auto; min-height: auto;
} }
&::v-deep a {
text-decoration: underline;
}
} }
.modal__content { .modal__content {