speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
296 stars 36 forks source link

wrong link border with `<URL>`? #381

Closed pr-apes closed 2 years ago

pr-apes commented 2 years ago

@pgundlach,

I have the following layout:

<Layout
    xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">
<PDFOptions showhyperlinks ="yes" />

<Record element="data">
<Output>
<Text>
    <Paragraph>
      <Value>Address:</Value>
      <A href="https://speedata.de/publisher/"><URL><Value>https://doc.speedata.de/publisher/</Value></URL></A>
    </Paragraph>
</Text>
</Output>
</Record>
</Layout>

Because of <URL>, I get the following border (for each character):

wrong-url

What am I missing here?

Many thanks for your help.

pgundlach commented 2 years ago

This doesn't look good. I hardly ever use a) the URL command and b) the showhyperlinks=yes, so I've missed this. Thank you for the report, I'll take a look.

pgundlach commented 2 years ago

Fixed in 4.9.8. Thank you very much for the report. Strictly speaking you don't need the URL element.

pr-apes commented 2 years ago

Many thanks for your fix, @pgundlach.

I know that <URL> is not required for the link, but I think it is mandatory for the text line break.

Or am I missing something here?

Many thanks for your help again.

pgundlach commented 2 years ago

@pr-apes that is correct (URL needed for line break)