diff --git a/internal_packages/message-list/lib/autolinker.es6 b/internal_packages/message-list/lib/autolinker.es6 index d327823a9..0c1284927 100644 --- a/internal_packages/message-list/lib/autolinker.es6 +++ b/internal_packages/message-list/lib/autolinker.es6 @@ -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'); } } diff --git a/internal_packages/message-list/spec/autolinker-fixtures/linkedin-out.html b/internal_packages/message-list/spec/autolinker-fixtures/linkedin-out.html index 12c8c47f0..6befa37d9 100644 --- a/internal_packages/message-list/spec/autolinker-fixtures/linkedin-out.html +++ b/internal_packages/message-list/spec/autolinker-fixtures/linkedin-out.html @@ -177,7 +177,7 @@ with Larry Wilmore"
+ | |