Ignore indentation specified at the paragraph level
See b_Schuster_Captns
In this example, some of the entries have hanging indentation specified on them. That hanging indentation is extracted into the HTML as margin-left: 67.5pt; text-indent: -67.5pt; padding-left: 67.5pt
. In the Word doc, these entries are flush left for the first line, but hanging on subsequent lines:
But in the HTML, the entire entry is indented.
The paragraph is initially extracted with 3 indent-related styles associated with it:
<p style="margin-left: 67.5pt; padding-left: 67.5pt; text-indent: -67.5pt">
This properly achieves the hanging indentation on lines after the first one, but the margin-left: 67.5pt
shouldn't be there, as it improperly indents the whole entry. Removing that attribute moves the whole paragraph back to its proper flush left position.
The margin-left
comes from the p-level style. I believe this is something that should be ignored entirely.
Word XML:
<w:p w:rsidR="00F069B3" w:rsidRDefault="00F069B3" w:rsidP="00F069B3">
<w:pPr>
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
</w:pPr>
<w:r>
<w:rPr><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve">Fig. 4 (Ch. 1):
</w:t>
</w:r>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve">A credit counselor at
</w:t>
</w:r><w:proofErr w:type="spellStart"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t>Fundación</w:t>
</w:r><w:proofErr w:type="spellEnd"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve"></w:t>
</w:r><w:proofErr w:type="spellStart"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t>Paraguaya</w:t>
</w:r><w:proofErr w:type="spellEnd"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve">
working on the
</w:t>
</w:r><w:proofErr w:type="spellStart"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:color w:val="000000"/></w:rPr>
<w:t>Ikatú</w:t>
</w:r><w:proofErr w:type="spellEnd"/>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve"></w:t>
</w:r>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t>project</w:t>
</w:r>
</w:p>
<w:p w:rsidR="00F069B3" w:rsidRDefault="00F069B3" w:rsidP="00F069B3">
<w:pPr>
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
</w:pPr>
</w:p>
<w:p w:rsidR="00F069B3" w:rsidRDefault="00F069B3" w:rsidP="00F069B3">
<w:pPr><w:ind w:left="1350" w:hanging="1350"/>
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
</w:pPr>
<w:r>
<w:rPr><w:color w:val="000000"/></w:rPr>
<w:t xml:space="preserve">Fig. 5 (Ch. 2):
</w:t>
</w:r>
<w:r w:rsidRPr="005501F5">
<w:rPr><w:i/><w:color w:val="000000"/></w:rPr>
<w:t>Paraguay Land Company, Limited 1889; To be issued for Land Warrants of the Government of Paraguay, at the rate of 2 fully-paid Shares for each £100 Warrant</w:t>
</w:r>
</w:p>
HTML:
<p>Fig. 4 (Ch. 1): <i>A credit counselor at </i><i>Fundación</i><i> </i><i>Paraguaya</i><i> working on the </i>Ikatú <i>project</i></p>
<p/>
<p style="margin-left: 67.5pt; text-indent: -67.5pt; padding-left: 67.5pt">Fig. 5 (Ch. 2): <i>Paraguay Land Company, Limited 1889; To be issued for Land Warrants of the Government of Paraguay, at the rate of 2 fully-paid Shares for each £100 Warrant</i></p>