From a4ca026e8207f7faf2d3650187979f2c3d181f93 Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Sat, 22 Aug 2026 13:16:11 +0200 Subject: [PATCH] Strip style/script/xml blocks and table structure before sanitizing pasted HTML Co-Authored-By: Claude Fable 5 --- src/Service/SurveyHtmlSanitizer.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Service/SurveyHtmlSanitizer.php b/src/Service/SurveyHtmlSanitizer.php index d875cd4..ad2f593 100644 --- a/src/Service/SurveyHtmlSanitizer.php +++ b/src/Service/SurveyHtmlSanitizer.php @@ -34,10 +34,17 @@ final class SurveyHtmlSanitizer $html = $this->convertPlainTextToHtml($html); } + // Elemente samt Inhalt komplett entfernen, bevor der Parser sie sieht – + // Word/Outlook liefern