From ac16521404a8fedee02b297840afad91f91de8d9 Mon Sep 17 00:00:00 2001 From: q-wertz Date: Sun, 3 Jul 2022 16:22:47 +0200 Subject: [PATCH] Switch to 'markdown-it-task-checkbox' for rendering of task lists Signed-off-by: q-wertz --- package-lock.json | 18 +++++++++++------- package.json | 2 +- src/components/card/Description.vue | 4 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca3e55227..facee8153 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,8 @@ "requires": true, "packages": { "": { - "version": "1.7.0-beta1", + "name": "deck", + "version": "1.7.1", "license": "agpl", "dependencies": { "@babel/polyfill": "^7.12.1", @@ -27,7 +28,7 @@ "lodash": "^4.17.21", "markdown-it": "^12.3.2", "markdown-it-link-attributes": "^4.0.0", - "markdown-it-task-lists": "^2.1.1", + "markdown-it-task-checkbox": "^1.0.6", "moment": "^2.29.2", "nextcloud-vue-collections": "^0.9.0", "p-queue": "^6.6.2", @@ -12802,9 +12803,10 @@ "resolved": "https://registry.npmjs.org/markdown-it-link-attributes/-/markdown-it-link-attributes-4.0.0.tgz", "integrity": "sha512-ssjxSLlLfQBkX6BvAx1rCPrx7ZoK91llQQvS3P7KXvlbnVD34OUkfXwWecN7su/7mrI/HOW0RI5szdJOIqYC3w==" }, - "node_modules/markdown-it-task-lists": { - "version": "2.1.1", - "license": "ISC" + "node_modules/markdown-it-task-checkbox": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/markdown-it-task-checkbox/-/markdown-it-task-checkbox-1.0.6.tgz", + "integrity": "sha512-7pxkHuvqTOu3iwVGmDPeYjQg+AIS9VQxzyLP9JCg9lBjgPAJXGEkChK6A2iFuj3tS0GV3HG2u5AMNhcQqwxpJw==" }, "node_modules/markdown-it/node_modules/argparse": { "version": "2.0.1", @@ -28466,8 +28468,10 @@ "resolved": "https://registry.npmjs.org/markdown-it-link-attributes/-/markdown-it-link-attributes-4.0.0.tgz", "integrity": "sha512-ssjxSLlLfQBkX6BvAx1rCPrx7ZoK91llQQvS3P7KXvlbnVD34OUkfXwWecN7su/7mrI/HOW0RI5szdJOIqYC3w==" }, - "markdown-it-task-lists": { - "version": "2.1.1" + "markdown-it-task-checkbox": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/markdown-it-task-checkbox/-/markdown-it-task-checkbox-1.0.6.tgz", + "integrity": "sha512-7pxkHuvqTOu3iwVGmDPeYjQg+AIS9VQxzyLP9JCg9lBjgPAJXGEkChK6A2iFuj3tS0GV3HG2u5AMNhcQqwxpJw==" }, "marked": { "version": "2.1.3", diff --git a/package.json b/package.json index a29b76524..8e0715ef7 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,8 @@ "dompurify": "^2.3.6", "lodash": "^4.17.21", "markdown-it": "^12.3.2", - "markdown-it-task-lists": "^2.1.1", "markdown-it-link-attributes": "^4.0.0", + "markdown-it-task-checkbox": "^1.0.6", "moment": "^2.29.2", "nextcloud-vue-collections": "^0.9.0", "p-queue": "^6.6.2", diff --git a/src/components/card/Description.vue b/src/components/card/Description.vue index c934060ca..25ec7b3f7 100644 --- a/src/components/card/Description.vue +++ b/src/components/card/Description.vue @@ -74,7 +74,7 @@