mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(autolinker): Use getAttribute('href')
because href
is magic
This commit is contained in:
parent
aa42040813
commit
c5a77fa854
2 changed files with 3 additions and 3 deletions
|
@ -62,6 +62,6 @@ export function autolink(doc, {async} = {}) {
|
|||
,
|
||||
});
|
||||
while (aTagWalker.nextNode()) {
|
||||
aTagWalker.currentNode.title = aTagWalker.currentNode.href;
|
||||
aTagWalker.currentNode.title = aTagWalker.currentNode.getAttribute('href');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -177,7 +177,7 @@ with Larry Wilmore"</a></td>
|
|||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="margin-left:0;color:#008CC9;font-weight:100;font-size:22px;line-height:26px;text-align:left;">
|
||||
<a href="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore" title="Why I Haven’t Worked in 30 Years" style="margin-left:0;color:#008CC9;font-weight:100;text-decoration:none;text-align:left;">
|
||||
<a href="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore" title="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore" style="margin-left:0;color:#008CC9;font-weight:100;text-decoration:none;text-align:left;">
|
||||
Why I Haven’t Worked in 30 Years</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -224,7 +224,7 @@ Why I Haven’t Worked in 30 Years</a></td>
|
|||
<table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="520" class="responsive-article">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" data-qa="votd_summary_link"><a href="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore" title="Why I Haven’t Worked in 30 Years"><img src="https://media.licdn.com/media/AAEAAQAAAAAAAAXcAAAAJDNhYzZmNjQzLTdiNzEtNDliMi05ZWIxLWQ1OGQ0MmE1YmJkOQ.png" alt="Highlight of the day" style="max-width:100%;border-width:0;"></a></td>
|
||||
<td align="left" data-qa="votd_summary_link"><a href="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore" title="https://www.linkedin.com/e/v2/pulse?e=6m81ta-ilj7lvs1-it&a=pulse_web_vi%E2%80%A6p;li=14&m=hero&permLink=why-i-havent-worked-30-years-larry-wilmore"><img src="https://media.licdn.com/media/AAEAAQAAAAAAAAXcAAAAJDNhYzZmNjQzLTdiNzEtNDliMi05ZWIxLWQ1OGQ0MmE1YmJkOQ.png" alt="Highlight of the day" style="max-width:100%;border-width:0;"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue