Merge pull request #163 from logseq/fix/hiccup-block-cp

Fix hiccup not rendering for block-cp
pull/645/head
Tienson Qin 2020-10-15 10:35:54 +08:00 committed by GitHub
commit d5aacf4ceb
1 changed files with 2 additions and 2 deletions

View File

@ -1494,9 +1494,9 @@
{:__html content}}]
["Hiccup" content]
(ui/catch-error
(safe-read-string content)
[:div.warning {:title "Invalid hiccup"}
content])
content]
(safe-read-string content))
["Export" "latex" options content]
(if html-export?