<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Formulae not saved correctly in .docx format in Writer (divides is changed to | on save)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123688">123688</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Formulae not saved correctly in .docx format in Writer (divides is changed to | on save)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.0.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>charlesmalpas@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have a strange bug in Writer. If I create a formula via Insert > Object >
Formula... such as:

P left (B divides D right ) = sum from {k = 1} to {k} {P} left (B divides {M}
rsub {k} , D right ) P left ({M} rsub {k} divides D right )

It appears to be normal. When I save as a .docx, then close and reopen the
document, the formula has changed to

P left (B | D right ) = sum from {k = 1} to {k} {P} left (B | {M} rsub {k} , D
right ) P left ({M} rsub {k} | D right )

The divides have been changed to | in the formula itself. The | then render as
a weird 'V'. This error does not occur when saving as an .odt file. 

System info:

Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
OS: Ubuntu 18.04

Steps to Reproduce:
1.Create formula in Writer using 'divides' syntax
2.Save as .docx
3.Close Writer
4.Reopen document

Actual Results:
'divides' syntax has been replaced with |, which does not render.

Expected Results:
'divides' should remain as the syntax.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
OS: Ubuntu 18.04</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>