Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

URLs in HTML signature appear twice when the message is viewed as text

more options

In Thunderbird, I've created an HTML signature using <a> elements around URLs:

<a href="https://yesik.it">http://yesik.it</a>

When I send a message using this signature, it is displayed as expected if the recipient is viewing the message as HTML. But if it views the TEXT version of the message, the URL appear twice:

http://yesik.it <https://yesik.it>

I'm pretty sure I once used a "-moz-XXX" class with the <a> element to avoid that behavior. But I can't find the reference to that anywhere. Or is there some other solution?

In Thunderbird, I've created an HTML signature using <a> elements around URLs: <a href="https://yesik.it">http://yesik.it</a> When I send a message using this signature, it is displayed as expected if the recipient is viewing the message as HTML. But if it views the TEXT version of the message, the URL appear twice: http://yesik.it <https://yesik.it> I'm pretty sure I once used a "-moz-XXX" class with the <a> element to avoid that behavior. But I can't find the reference to that anywhere. Or is there some other solution?

Gewysig op deur sylvain.leroux

Gekose oplossing

I've found my issue. The HTML to TXT converter didn't catch the link and the link text to be the same thing ... because I didn't use the same protocol (it's a typo, a missing "s" replaced "https" by "http")

Concerning the second part of my question, Thunderbirds supports indeed a couple of magic class used for the TXT<-->HTML conversion of links:

See https://dxr.mozilla.org/mozilla-central/source/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp#449

Lees dié antwoord in konteks 👍 0

All Replies (1)

more options

Gekose oplossing

I've found my issue. The HTML to TXT converter didn't catch the link and the link text to be the same thing ... because I didn't use the same protocol (it's a typo, a missing "s" replaced "https" by "http")

Concerning the second part of my question, Thunderbirds supports indeed a couple of magic class used for the TXT<-->HTML conversion of links:

See https://dxr.mozilla.org/mozilla-central/source/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp#449