Merge pull request #50 from Artiavis/fix-toc-bug

fixed bug with threading macro in wrong order
master
Carmen La 9 years ago
commit 91a924a147

@ -54,7 +54,7 @@
contents, while :ul will result in an unordered list. The default is an contents, while :ul will result in an unordered list. The default is an
ordered list." ordered list."
(let [li-tags (list-type _list-types) (let [li-tags (list-type _list-types)
top-tag (li-tags -> first (subs 1 3))] top-tag (-> li-tags first (subs 1 3))]
(-> html (-> html
(.getBytes "UTF-8") (.getBytes "UTF-8")
(java.io.ByteArrayInputStream.) (java.io.ByteArrayInputStream.)

Loading…
Cancel
Save