title: Losing superscript tag when converting HTML to DOCX using libreoffice
body: <p>I have the following HTML:</p>
  
  <p><code>&lt;html&gt;&lt;body&gt;&lt;p&gt;n&lt;sup&gt;th&lt;/sup&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</code></p>
  
  <p>I am using the command:</p>
  
  <blockquote>
    <p>$ libreoffice --convert-to docx:"MS Word 2007 XML" test.html</p>
  </blockquote>
  
  <p>To convert that HTML into a DOCX file. However I notice that the resulting DOCX file does not actually contain the <code>&lt;sup&gt;</code> tag. It looks like it is using position and size to replicate the <code>&lt;w:vertAlign&gt;</code> tag:</p>
  
  <p><code>&lt;w:position w:val="8"/&gt;&lt;w:sz w:val="19"/&gt;</code></p>
  
  <p>What I would need to know is how to make libreoffice put in the <code>&lt;w:vertAlign&gt;</code> tag instead of using position and size.</p>
  
  <p>Additonal Info:</p>
  
  <p>I had a similar problem with bold and italics (<code>&lt;strong&gt;&lt;em&gt;</code>) but was able to get the conversion to work correctly if I converted the <code>strong</code> and <code>em</code> tags to <code>b</code> and <code>i</code> tags respectively.</p>