diff --git a/src/index.js b/src/index.js index 49593f49..0a079969 100644 --- a/src/index.js +++ b/src/index.js @@ -185,7 +185,16 @@ export default class Embed { return preloader; } - + /** + * Sanitize HTML tags like & to be & + * + */ + static get sanitize(){ + return { + embed:true// disallow HTML + } + } + /** * Save current content and return EmbedData object *