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

Does not properly apply nested selectors #60

Open madduck opened 4 years ago

madduck commented 4 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.