From 9a7b260859e6f8cb4aa03d9e11342e7e7f3713dc Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 6 Feb 2022 18:16:46 -0500 Subject: [PATCH] Update marked syntax in update checker --- src/renderer/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/App.js b/src/renderer/App.js index f3eaecd6..c8937f4a 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -10,7 +10,7 @@ import FtButton from './components/ft-button/ft-button.vue' import FtToast from './components/ft-toast/ft-toast.vue' import FtProgressBar from './components/ft-progress-bar/ft-progress-bar.vue' import $ from 'jquery' -import marked from 'marked' +import { marked } from 'marked' import Parser from 'rss-parser' let ipcRenderer = null @@ -203,7 +203,7 @@ export default Vue.extend({ $.getJSON(requestUrl, (response) => { const tagName = response[0].tag_name const versionNumber = tagName.replace('v', '').replace('-beta', '') - this.updateChangelog = marked(response[0].body) + this.updateChangelog = marked.parse(response[0].body) this.changeLogTitle = response[0].name const message = this.$t('Version $ is now available! Click for more details')