<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 - Writer documents with Formulas getting flagged as grammar/spelling error"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141784">141784</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Writer documents with Formulas getting flagged as grammar/spelling error
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>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>rafael.palma.lima@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=171320" name="attach_171320" title="Image showing the problem">attachment 171320</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=171320&action=edit" title="Image showing the problem">[details]</a></span>
Image showing the problem

In Writer documents with text and formulas (Math objects) in the same paragraph
I'm getting grammar errors (as shown in the attached image).

So every time I add some text, a blank space, a Math object, another blank
space and then some more text, I get the blue wavy underline indicating a
grammar/spelling mistake. I think LO identifies this as two sequential blank
spaces, so it flags it as an error.

To disable this behavior, I have to disable the option "Checking spelling as
you type". Disabling grammar checking does not have an effect here.

The problem here seems to be that the Math object is not being considered as
part of the text and the spell checker can't see it, thus marking it as a "two
blank spaces" error.</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>