| author | gibus |
| Thu, 27 Jun 2013 16:54:29 +0200 | |
| changeset 517 | e7bc083fa9dc |
| parent 516 | c6105d922ac6 |
| child 518 | 9172f4c6ad70 |
--- a/src/cm/converters/pandoc_converters.py Thu Jun 27 16:39:16 2013 +0200 +++ b/src/cm/converters/pandoc_converters.py Thu Jun 27 16:54:29 2013 +0200 @@ -221,7 +221,7 @@ if from_format==to_format=='html': # get body content stdoutdata = (content.encode('utf8')) - soup = BeautifulSoup(stdoutdata) + soup = BeautifulSoup(stdoutdata, fromEncoding='UTF-8') body = soup.body if body: stdoutdata = body.renderContents()