From d3c42c25cca49b9f88cdf2e3b632ae776555b5d9 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 8 May 2014 01:31:51 -0700 Subject: [PATCH] this should be textContent --- src/Linkification/Linkify.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 57c569d67..8350ed0a4 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -236,7 +236,10 @@ Linkify = target: 'blank' className: 'linkify' href: a.dataset.href - innerHTML: a.dataset.title or a.dataset.nodedata + if a.dataset.title + el.textContent = a.dataset.title + else + el.innerHTML = a.dataset.nodedata $.addClass el, a.dataset.key