this should be textContent

This commit is contained in:
ccd0 2014-05-08 01:31:51 -07:00
parent 8d9d230a60
commit d3c42c25cc

View File

@ -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