Bug 4267 - Image only links should be rendered as text from alt attribute in html as text view
Summary: Image only links should be rendered as text from alt attribute in html as tex...
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message View (show other bugs)
Version: 3.17.5
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-11-04 10:19 UTC by Jakub Jankiewicz
Modified: 2019-11-12 20:51 UTC (History)
0 users

See Also:


Attachments
Email with image links (38.58 KB, message/rfc822)
2019-11-04 10:19 UTC, Jakub Jankiewicz
no flags Details

Description Jakub Jankiewicz 2019-11-04 10:19:45 UTC
Created attachment 2014 [details]
Email with image links

I've got emails from one site (online shop) to rate the experience. It look like this:

<td bgcolor="#79abb3" style="width:9.090909090909091%; border-right: 1px solid #ffffff;">
<a href="https://cyfrowe.emaillabs.info.pl/click/?<....>" style="color:#ffffff; text-decoration: none;">
<img class="review-img" alt="3" title="3" style="max-width: 100%; heiht: auto;" border="0" width="53" src="https://cyfrowe.pl/images/mails/nps/o3.jpg" />     
</a>
</td>

Claws-mail don't render this in text view of html part of the email (without Fancy). I think it should render:

[3]

so whatever is in alt attribute on the image as text with link. Right now claws-mail ignore this html.
Comment 1 Jakub Jankiewicz 2019-11-12 20:51:34 UTC
Just go another email, was not able to confirm registration, luckily that email also have web interface where I was able to click on the image button.

This how the html look like, I've tried to reconstruct the url but was not able to do so in text editor.

                        <td width=3D"600" height=3D"80" align=3D"center" va=
lign=3D"middle" bgcolor=3D"#ffffff">
                            <a href=3D"https://u2031445.ct.sendgrid.net/wf/click?upn=3Drhv1A5uSMq7fYAyPMKWFj9feWry00g7f5xdHLIF1363g-2BQo8727uCrrQv2vPJ0wiTaXsRagY9JSF5x1bDbRo0Whw-2BuuDc-2FGFJSfLO2rIIFOmU-2FzCMcBhldw-2FvjOFTwSN=
chjNAqWV46TDP8cY6BjxgA-3D-3D_61NEXIqze2y-2Fhg5S7FIAd5s4sPLz7DH4fbVCrUfFcUWtw53JFjv6wVEcA8dlp5Hu8tDM-2FWh3zfYst74OAzsW00bJSgNl6dOWeNV85TkLzUsQylXo0vkXI=
MBmVCcrLVlRsi88eKLyANszvXGGSPBw-2FjvulJvmAE7DUiyN4EgU5-2BMsMwTZ049Si4sP-2FIOKUIaNAB8NCRjKeCEuZfsJVFuvzw-3D-3D" target=3D"_blank" style=3D"display: blo=
ck; border: none; margin: 0px; text-decoration: none">
                                <img style=3D"display: block; border: none;=
 margin: 0px;" src=3D"https://www.ceeol.com/mail-templates/puser-eml-01/act=
ivate-btn.png" width=3D"200" height=3D"40" alt=3D"Activate Button"/></a>
                        </td>

Note You need to log in before you can comment on or make changes to this bug.