mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: code block can't be saved
This commit is contained in:
@@ -2555,7 +2555,7 @@
|
||||
(let [{:keys [lines language]} options
|
||||
attr (when language
|
||||
{:data-lang language})
|
||||
code (join-lines lines)]
|
||||
code (apply str lines)]
|
||||
(cond
|
||||
html-export?
|
||||
(highlight/html-export attr code)
|
||||
|
||||
Reference in New Issue
Block a user