Skip to content

Commit

Permalink
fix: do not use node.js buffer package for blob to get code working i…
Browse files Browse the repository at this point in the history
…n browser
  • Loading branch information
catalan-adobe committed May 23, 2023
1 parent 966c807 commit d6da86d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/DOMUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
* governing permissions and limitations under the License.
*/

/* global Blob */

import { JSDOM } from 'jsdom';
import { Blob } from 'buffer';

export default class DOMUtils {
static EMPTY_TAGS_TO_PRESERVE = ['img', 'video', 'iframe', 'div', 'picture'];
Expand Down

0 comments on commit d6da86d

Please sign in to comment.