Browse Source

Fix an encoding bug in index processing.

Please tell me if this create a bug in antoher system !
pull/20/head
Luthaf 11 years ago
parent
commit
c254fbe268
  1. 2
      songbook/plastex.py

2
songbook/plastex.py

@ -13,7 +13,7 @@ def simpleparse(text):
"""Parse a simple LaTeX string. """Parse a simple LaTeX string.
""" """
tex = TeX() tex = TeX()
tex.input(text) tex.input(text.decode('utf8'))
doc = tex.parse() doc = tex.parse()
return doc.textContent return doc.textContent

Loading…
Cancel
Save