<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 - FILESAVE DOCX Hyperlink with bookmark target (with white space in name) broken after export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127116">127116</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE DOCX Hyperlink with bookmark target (with white space in name) broken after export
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.5.0 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>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Hyperlink created in LO with bookmark target is broken after DOCX export when
the bookmark name contains white space.

Steps to Reproduce:
    1. Create a new document in Writer.
    2. On the Insert tab, choose Bookmark.
    3. Click Insert.
    4. Type text.
    5. On the Insert tab, choose Page Break.
    6. On the Insert tab, choose Hyperlink.
    7. Select Document and click on icon below Target in Document.
    8. Select the bookmark in Target in Document window.
    9. Click on Apply button, and then click on Close button in Target in
Document window.
    10. Click on OK button.
    11. Save the file as DOCX.
    12. Reload the file.

Actual Results:
The hyperlink doesn’t work.

Expected Results:
The hyperlink should work after export.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.4.0.0.alpha0+ (x64)
Build ID: ec3a14ba93ba0be49170afa979f299bbf9e24300
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded</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>