Skip to content

Commit

Permalink
Update Element.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rchipka authored Jun 3, 2019
1 parent 8c5965a commit 5e91abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ var Element = {
},
insertAdjacentHTML: function(position, text) {
return;
var html = this.doc.parse('<body>'+str+'</bod>').root();
var html = this.doc.parse('<body>'+str+'</body>').root();
if (html === null)
return;
var body = doc.get('body');
Expand Down

0 comments on commit 5e91abe

Please sign in to comment.