Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var newHtml = $('<div>' + data + '</div>');
- newHtml.find("a:not([href])").replaceWith(function() { return this.childNodes; });
- var content = newHtml.html();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement