<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 - PDF output from Writer generates bad URL when crossing a line"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136373">136373</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PDF output from Writer generates bad URL when crossing a line
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>raphael@cs.uky.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I use --convert-to pdf to convert an odt file to pdf.  My file includes text
describing a URL, which I link to the actual URL.  The text crosses a line
boundary; Writer inserts a hyphen at that point.  The URL looks good in Writer.
 However, the link in the generated PDF contains an extraneous %A2%CD at the
point of the hyphen into the generated URL.  It also has the same extraneous
data at the end of the URL.

Steps to Reproduce:
1. Build a file in Writer with text containing a very long URL.
2. Link that URL to its target.
3. Use --convert-to pdf to generate a PDF file from the text.
4. Inspect the PDF at the point of the URL to see what it points to.

Actual Results:
At the place where Writer inserts a hyphen in the text, there are extraneous
characters in the underlying URL: %A2%CD.  These characters are also at the end
of the underlying URL.

Expected Results:
The URL should be exactly the one linked.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3; 

Locale: en-US (en_US.utf8); Calc: group</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>