rennat / pynliner

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

Fixed bug, wrong sort order of style rules #6

Closed racheltwu closed 13 years ago

racheltwu commented 13 years ago

Using a dict meant the sort order of the style rules was lost. A simple addition of a list to keep track of the selector order fixed it right up.

racheltwu commented 13 years ago

Actually this didn't fix the problem, and I'm still not sure what's causing it (or if its even pynliner specifically). Closing this pull request.