From: Alexander Ebert Date: Fri, 5 May 2023 09:58:26 +0000 (+0200) Subject: Unwrap `
` contained in `` X-Git-Tag: 6.0.0_Alpha_1~136^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c036cb3b6cdc399e875326d5eb235e326e19863;p=GitHub%2FWoltLab%2FWCF.git Unwrap `
` contained in `` --- diff --git a/ts/WoltLabSuite/Core/Component/Ckeditor/Cleanup.ts b/ts/WoltLabSuite/Core/Component/Ckeditor/Cleanup.ts index 6ed22489e2..3add48d75d 100644 --- a/ts/WoltLabSuite/Core/Component/Ckeditor/Cleanup.ts +++ b/ts/WoltLabSuite/Core/Component/Ckeditor/Cleanup.ts @@ -23,6 +23,7 @@ function unwrapBr(div: HTMLElement): void { while ((parent = parent.parentElement) !== null) { switch (parent.tagName) { case "B": + case "DEL": case "EM": case "I": case "STRONG": diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Cleanup.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Cleanup.js index aff6a7c7ae..16c2e9e2fb 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Cleanup.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Cleanup.js @@ -24,6 +24,7 @@ define(["require", "exports", "tslib", "../../Dom/Util"], function (require, exp while ((parent = parent.parentElement) !== null) { switch (parent.tagName) { case "B": + case "DEL": case "EM": case "I": case "STRONG": diff --git a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBr.class.php b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBr.class.php index 2afc6bec9a..2e8238b03a 100644 --- a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBr.class.php +++ b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBr.class.php @@ -44,6 +44,7 @@ final class HtmlOutputNodeBr extends AbstractHtmlOutputNode while (($parent = $parent->parentNode) !== null) { switch ($parent->nodeName) { case "b": + case "del": case "em": case "i": case "strong":