Skip to content

Commit

Permalink
Update marked syntax in update checker
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestonN committed Feb 6, 2022
1 parent f69c535 commit 9a7b260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 9a7b260

Please sign in to comment.