Merge pull request #14 from dl1ely/master

Fix garbled UTF-8 characters in TOC generation
This commit is contained in:
Dmitri Sotnikov 2015-01-28 10:31:38 -05:00
commit 362989ac77

View file

@ -42,7 +42,7 @@
(defn generate-toc [html]
(-> html
(.getBytes)
(.getBytes "UTF-8")
(java.io.ByteArrayInputStream.)
(html/parse)
:content