https://bugs.documentfoundation.org/show_bug.cgi?id=152850

            Bug ID: 152850
           Summary: bad scoping of sqrt after mathml import
           Product: LibreOffice
           Version: 7.4.3.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: beton.10.pjo...@neverbox.com

Description:
import of mathml formula has incorrect structure


Steps to Reproduce:
import (eg. by paste from clipboard)
<math
xmlns="http://www.w3.org/1998/Math/MathML";><mrow><msqrt><mfrac><mi>a</mi><mi>b</mi></mfrac></msqrt><mo>/</mo><mi>c</mi></mrow></math>


Actual Results:
the resulting formula is incorrect in LO Math: the sqrt encompasses the "c"

Expected Results:
the Mathml tag structure is clear : the "c" must remain outside the root.


Reproducible: Always


User Profile Reset: No

Additional Info:
The problem is not with the division by c :  <math
xmlns="http://www.w3.org/1998/Math/MathML";><mrow><msqrt><mfrac><mi>a</mi><mi>b</mi></mfrac></msqrt><mo>*</mo><mi>c</mi></mrow></math>
similarly imports the c under the root.

Version: 7.4.3.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Debian package version: 1:7.4.3-2
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to