'use strict';
module.exports = {
name: 'card-html',
type: 'dom',
render(opts) {
let html = `
${opts.payload.html}
`;
// use the SimpleDOM document to create a raw HTML section.
// avoids parsing/rendering of potentially broken or unsupported HTML
let element = opts.env.dom.createRawHTMLSection(html);
return element;
}
};