<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 - LibreOffice does not properly convert -- to em-dash by default"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136182">136182</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LibreOffice does not properly convert -- to em-dash by default
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>brightwanderer@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When reporting interrupted speech (either in fictional dialogue or transcribed
conversations) it is standard to use em-dash as follows:

"You can't—"

"I assure you I can."

In this context, by default LibreOffice doesn't convert -- to em-dash, because
the default replacement table entry expects a space before the dashes. To get
it to work, the entry .*-- or .*--.* has to be added manually to the
replacement table.

Steps to Reproduce:
1. Type any line of dialogue, with or without quotation marks, that ends with a
trailing em-dash to indicate interruption, e.g. "What--?" or What--? or "So--"
or So--


Actual Results:
-- did not convert to em-dash

Expected Results:
-- should convert to em-dash. The user should not have to manually add the
entry with wildcards to the replacement table.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL</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>