this should be textContent
This commit is contained in:
parent
8d9d230a60
commit
d3c42c25cc
@ -236,7 +236,10 @@ Linkify =
|
|||||||
target: 'blank'
|
target: 'blank'
|
||||||
className: 'linkify'
|
className: 'linkify'
|
||||||
href: a.dataset.href
|
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
|
$.addClass el, a.dataset.key
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user