booktype / python-ooxml

Python library for parsing .docx (Office Open XML) files
GNU Affero General Public License v3.0
52 stars 24 forks source link

Do not use same styling on the parent and the children #21

Closed aerkalov closed 9 years ago

aerkalov commented 9 years ago

We end up with output code i

<p style="font-size: 120%;">
  <span style="font-size: 120%">Text</span>
</p>

We should end up with something like this:

<p style="font-size: 120%;">
 Text
</p>
danielhjames commented 9 years ago

Much cleaner, I like it!