Reply to 78182195801501696@ManuelBieh How about stripping the script tag before tidying and readding afterwards?