Skip to content

Commit

Permalink
chore: remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Weihua Lu authored and tiensonqin committed Jul 6, 2021
1 parent c44089a commit 1c0beff
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/frontend/components/block.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -926,12 +926,10 @@

;; String to hiccup
["Inline_Hiccup" s]
(do
(js/console.log s)
(ui/catch-error
[:div.warning {:title "Invalid hiccup"} s]
(-> (safe-read-string s)
(security/remove-javascript-links-in-href))))
(ui/catch-error
[:div.warning {:title "Invalid hiccup"} s]
(-> (safe-read-string s)
(security/remove-javascript-links-in-href)))

["Inline_Html" s]
(when (not html-export?)
Expand Down

0 comments on commit 1c0beff

Please sign in to comment.