walle/gimli — pull request #30 by kaukas (2012-08-13 12:10:07+00:00)
Title: Properly handle smart quotes from Textile.

Hello.

I had problems getting the Textile-generated smart quotes through to pdf. The reason turned out to be the usage of utf-8 encoding and Nokogiri XML document parser. I switched to ASCII-8BIT and HTML and got the desired functionality without breaking the tests.

Please see the explanation here: http://stackoverflow.com/questions/4476047/how-to-make-nokogiri-not-to-convert-nbsp-to-space

This is a big change so I understand that you may want to clean it up or test more or even reject the request. Please feel free to contact me if any more help needed though.

A (now working) testcase added.