This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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?

Modified by sylvain.leroux

Chosen solution

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

Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

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