Merge pull request #14 from dl1ely/master
Fix garbled UTF-8 characters in TOC generation
This commit is contained in:
commit
362989ac77
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
(defn generate-toc [html]
|
(defn generate-toc [html]
|
||||||
(-> html
|
(-> html
|
||||||
(.getBytes)
|
(.getBytes "UTF-8")
|
||||||
(java.io.ByteArrayInputStream.)
|
(java.io.ByteArrayInputStream.)
|
||||||
(html/parse)
|
(html/parse)
|
||||||
:content
|
:content
|
||||||
|
|
Loading…
Reference in a new issue