fix marked parse call

This commit is contained in:
Konstantinos Kaloutas
2023-07-27 16:36:15 +03:00
committed by Tienson Qin
parent b5df30f4e1
commit 33f6438d38
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@
[s]
(try
(if (string? s)
(js/window.marked s) s)
(js/window.marked.parse s) s)
(catch js/Error e
(js/console.error e) s)))