@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
12 lines (11 loc) • 1.09 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.allowedTags = exports.allowedAttributes = void 0;
var _sanitizeHtml = _interopRequireDefault(require("sanitize-html"));
var allowedTags = exports.allowedTags = _sanitizeHtml["default"].defaults.allowedTags.concat(['u', 'abbr', 'cite', 'dd', 'dfn', 'dl', 'dt', 'kbd', 'mark', 'q', 's', 'samp', 'small', 'sub', 'sup', 'time', 'var', 'address', 'article', 'aside', 'bdi', 'bdo', 'body', 'col', 'colgroup', 'data', 'del', 'figcaption', 'figure', 'footer', 'h1', 'h2', 'head', 'header', 'hgroup', 'html', 'img', 'ins', 'main', 'nav', 'rp', 'rt', 'ruby', 'section', 'span', 'style', 'summary', 'sup', 'tfoot', 'title', 'wbr']);
var allowedAttributes = exports.allowedAttributes = {
iframe: ['id', 'data-media-id', 'data-media-type', 'title', 'src', 'width', 'height', 'name', 'align', 'style', 'class', 'sandbox', 'loading', 'allowfullscreen', 'webkitallowfullscreen', 'mozallowfullscreen', 'allow', 'data-old-link']
};