diff --git a/build/media_source/com_finder/js/debug.es6.js b/build/media_source/com_finder/js/debug.es6.js index a68fc9e1e0fed..aab5ee479fa8b 100644 --- a/build/media_source/com_finder/js/debug.es6.js +++ b/build/media_source/com_finder/js/debug.es6.js @@ -24,11 +24,14 @@ headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, onSuccess: (response) => { const output = document.getElementById('indexer-output'); + const allowedHtml = { + fieldset: [], legend: [], dl: ['class'], dt: ['class'], dd: ['class'], + }; try { const parsed = JSON.parse(response); - output.innerHTML = Joomla.sanitizeHtml(parsed.rendered); + output.innerHTML = Joomla.sanitizeHtml(parsed.rendered, allowedHtml); } catch (e) { - output.innerHTML = Joomla.sanitizeHtml(response); + output.innerHTML = Joomla.sanitizeHtml(response, allowedHtml); } }, onError: (xhr) => {