rennat / pynliner

Python CSS-to-inline-styles conversion tool for HTML using BeautifulSoup and cssutils
http://pythonhosted.org/pynliner/
180 stars 93 forks source link

Fixed whitespace check #56

Closed franc6 closed 7 years ago

franc6 commented 7 years ago

Since input is unicode, some characters might not exist in the locale's character set. If this is the case, use of str() will fail, raising an exception. Fixed to use unicode() which avoids this problem.

franc6 commented 7 years ago

This wasn't the pull request I intended.