Preserve newlines

pull/645/head
Tienson Qin 2020-08-26 20:19:05 +08:00
parent 3be61faa6a
commit 5a9e5a4b9b
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,7 @@
(defn- join-lines
[l]
(string/join "\n" l))
(string/trim (apply str l)))
(defn- string-of-url
[url]
@ -1354,6 +1354,7 @@
(if (re-find #"\"Export_Snippet\" \"embed\"" (str l))
(->elem :div (map-inline config l))
(->elem :p (map-inline config l)))
["Horizontal_Rule"]
(when-not (:slide? config)
[:hr])