Skip to content

Commit

Permalink
Export DOMPurify
Browse files Browse the repository at this point in the history
To be used by extensions
  • Loading branch information
GarboMuffin committed Jul 31, 2024
1 parent c4bb764 commit e036297
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const serializeSvgToString = require('./serialize-svg-to-string');
const SvgElement = require('./svg-element');
const convertFonts = require('./font-converter');
const fixForVanilla = require('./tw-fix-for-vanilla');
const DOMPurify = require('dompurify');
// /**
// * Export for NPM & Node.js
// * @type {RenderWebGL}
Expand All @@ -20,5 +21,6 @@ module.exports = {
serializeSvgToString: serializeSvgToString,
SvgElement: SvgElement,
SVGRenderer: SVGRenderer,
fixForVanilla: fixForVanilla
fixForVanilla: fixForVanilla,
DOMPurify: DOMPurify
};

0 comments on commit e036297

Please sign in to comment.