Skip to content

Commit

Permalink
fix: change parse api after upgrade (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo committed Apr 14, 2022
1 parent 7291ece commit f81a516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Markdown.js
Expand Up @@ -32,7 +32,7 @@ sap.ui.define(["sap/ui/core/Control", "./marked/marked.min"], (Control /*, marke
return
}
if (sMarkdown) {
const sHtml = marked(sMarkdown)
const sHtml = marked.parse(sMarkdown)
oRM.unsafeHtml(sHtml)
oRM.close("div")
} else if (oControl.getFromFile()) {
Expand Down

0 comments on commit f81a516

Please sign in to comment.