pydocx
pydocx copied to clipboard
Additional faked sub/super script test case
While working on #116, I noticed the following corner case doesn't get detected. This occurs because the paragraph has a local size specified.
Do we want to detect this as a faked superscript (and likewise the analogous case for subscript)? Either way, we should include a test case that pegs the desired behavior.
<w:p>
<w:pPr>
<w:rPr>
<w:sz w:val="72"/>
<w:szCs w:val="72"/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:sz w:val="72"/>
<w:szCs w:val="72"/>
</w:rPr>
<w:t>Testing</w:t>
</w:r>
<w:r>
<w:rPr>
<w:position w:val="16"/>
<w:sz w:val="20"/>
<w:szCs w:val="20"/>
</w:rPr>
<w:t>2</w:t>
</w:r>
</w:p>