<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 - Autocorrect replacement mixes up Hebrew opening and closing quotes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114575">114575</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Autocorrect replacement mixes up Hebrew opening and closing quotes
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.0.0.beta2
          </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>minor
          </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>eyalroz@technion.ac.il
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=138539" name="attach_138539" title="Without AC, with incorrect AC, with "corrected" AC">attachment 138539</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=138539&action=edit" title="Without AC, with incorrect AC, with "corrected" AC">[details]</a></span>
Without AC, with incorrect AC, with "corrected" AC

When you apply autocorrect replacement of simple quotes with "smart" quotes on
Hebrew text (within two simple ASCII double-quote characters), what you get is
that the first double-quote (i.e. the right double-quote, as Hebrew is written
in RTL) gets replaced with a Hebrew closing-quote character, and the second
double-quote (i.e. the left one) gets replaced with a Hebrew
upper-opening-quote character. That's the wrong order:

Instead of this (added RLMs to the beginning and end of the line to get the
direction right):

‏הבית של פיסטוק מלא “הפתעות”.‏

we should be getting this:

‏הבית של פיסטוק מלא ”הפתעות“.‏

if you can't see the difference, open the example.

Also, for good measure, if the paragraph's style was LTR, and you only manually
set it to LTR, the autocorrect resets the direction to LTR. This is a different
issue, but I'm mentioning it so that when you try to reproduce, you'll want to
double-check the direction after the autocorrect has been applied. Finally, if
autocorrect does not, well, autocorrect (which happens to me sometime),
manually Apply it using the menus.</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>