mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix(whiteboard): pasting HTML shape issues
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
(defn- get-whiteboard-tldr-from-text
|
||||
[text]
|
||||
(when-let [matched-text (util/safe-re-find #"<whiteboard-tldr>(.*)</whiteboard-tldr>" text)]
|
||||
(try-parse-as-json (second matched-text))))
|
||||
(try-parse-as-json (js/decodeURIComponent (second matched-text)))))
|
||||
|
||||
(defn- get-whiteboard-shape-refs-text
|
||||
[text]
|
||||
|
||||
Reference in New Issue
Block a user