Skip to content

Commit

Permalink
Merge branch 'update-master-20200113' of github.com:wordpress-mobile/…
Browse files Browse the repository at this point in the history
…gutenberg-mobile into update-master-20200113
  • Loading branch information
mkevins committed Jan 14, 2020
2 parents 7627872 + 397397b commit 65f62ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jsdom-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ Object.defineProperties( Node.prototype, {
} );

class DOMParser {
// This is required for the stripHTML function, but it doesn't necessarily
// conform to the DOM standard.
// See https://github.com/wordpress-mobile/gutenberg-mobile/pull/1771
parseFromString( string ) {
return jsdom.html( string );
}
Expand Down

0 comments on commit 65f62ad

Please sign in to comment.