You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line val = node.nodeValue should be changed to val = node.nodeValue.replace(/</g, '<') – strange bug when $('<a>foo <</a>')[0].textContent outputs foo <. So if text node had escaped HTML, it will be unescaped
The text was updated successfully, but these errors were encountered:
Line
val = node.nodeValue
should be changed toval = node.nodeValue.replace(/</g, '<')
– strange bug when$('<a>foo <</a>')[0].textContent
outputsfoo <
. So if text node had escaped HTML, it will be unescapedThe text was updated successfully, but these errors were encountered: