Fix garbled UTF-8 characters in TOC generation

Fixes #13
This commit is contained in:
Stefan Pfeiffer, DL1ELY 2015-01-28 15:43:32 +01:00
parent 9de65df523
commit a73e2f664e

View file

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