fix: code block can't be saved

This commit is contained in:
Tienson Qin
2021-11-26 19:15:12 +08:00
parent 1ef6741282
commit a5674b1728
6 changed files with 39 additions and 11 deletions

View File

@@ -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)