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

Does not properly apply nested selectors #60

Open madduck opened 5 years ago

madduck commented 5 years ago

This HTML

<style>
ol ol { list-style-type: lower-alpha; }
ol ol ol { list-style-type: lower-roman; }
</style>

<ol><li><p>Sublist:</p>
  <ol><li>Item</li>
  </ol>
</ol>

will result with the nested ol having lower-roman applied, instead of lower-alpha.