Skip to content

Commit 10b4cf6

Browse files
committed
Compatibility with Internet Explorer 7 and 8
This is the only fix needed to work under IE 7 and 8
1 parent 348643a commit 10b4cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linkified.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Linkified.linkifyNode = function (node) {
297297
*/
298298
dummyElement.innerHTML = Linkified.linkify.call(
299299
this,
300-
childNode.textContent || childNode.innerText
300+
childNode.textContent || childNode.innerText || childNode.nodeValue
301301
);
302302

303303
/*

0 commit comments

Comments
 (0)