diff --git a/build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js b/build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js index 59c821d1192d2..f7e9ca1af50dc 100644 --- a/build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js +++ b/build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js @@ -12,20 +12,6 @@ ENTER: 13, }; - const allowList = { - button: ['type'], - input: [ - 'accept', 'alt', 'autocomplete', 'autofocus', 'capture', - 'checked', 'dirname', 'disabled', 'height', 'list', 'max', - 'maxlength', 'min', 'minlength', 'multiple', 'type', 'name', - 'pattern', 'placeholder', 'readonly', 'required', 'size', 'src', - 'step', 'value', 'width', 'inputmode', - ], - select: ['name'], - textarea: ['name'], - option: ['value', 'selected'], - }; - /** * Helper for testing whether a selection modifier is pressed * @param {Event} event @@ -197,7 +183,7 @@ } else { tmpEl = document.createElement('div'); } - tmpEl.innerHTML = Joomla.sanitizeHtml(this.template, allowList); + tmpEl.innerHTML = this.template; const row = tmpEl.children[0]; // Add to container