https://bugs.freedesktop.org/show_bug.cgi?id=66283

          Priority: medium
            Bug ID: 66283
          Assignee: [email protected]
           Summary: phantom and stylistic commands generate useless
                    elements
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Formula Editor
           Product: LibreOffice

Testcases: 

"phantom w" generates

  <mphantom>
   <mstyle>
    <mrow>
     <mi>x</mi>
    </mrow>
   </mstyle>
  </mphantom>

(mstyle and mrow are useless here)

"bold x" generates

  <mstyle mathvariant="bold">
   <mrow>
    <mi>x</mi>
   </mrow>
  </mstyle>

(mrow is useless here, same occurs with italic, size and font commands)

This is not a too serious issue since these elements won't have any effect on
the rendering, but that would be good to avoid increasing the tree depth
unnecessarily. I haven't looked into the code to see how easy it will be.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to