diff --git a/tools/importer/transformers/embedScript.js b/tools/importer/transformers/embedScript.js index 518ee75a..438c5f50 100644 --- a/tools/importer/transformers/embedScript.js +++ b/tools/importer/transformers/embedScript.js @@ -51,6 +51,10 @@ const embedScript = (main, document) => { const scriptEls = main.querySelectorAll('div.script'); if (scriptEls.length > 0) { scriptEls.forEach((scriptEl) => { + if (scriptEl.querySelector('div#add-section')?.id === 'add-section') { + scriptEl.innerHTML = ''; + scriptEl.append(document.createElement('hr')); + } const iFrame = scriptEl.querySelector('iframe'); if (iFrame) { const anc = document.createElement('a');