Fix detection of nested tables in messages
authorMatthias Schmidt <gravatronics@live.com>
Mon, 3 May 2021 10:29:48 +0000 (12:29 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 3 May 2021 10:29:48 +0000 (12:29 +0200)
Close #4175

wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeTable.class.php

index bc8feb5480339d462a7507089d5bd8fdf18820c5..476bd7301eb8dc254febbefd8e5af53e168c24b3 100644 (file)
@@ -55,7 +55,7 @@ class HtmlOutputNodeTable extends AbstractHtmlOutputNode {
                                $parent = $element;
                                while ($parent = $parent->parentNode) {
                                        if ($parent->nodeName === 'table') {
-                                               continue;
+                                               continue 2;
                                        }
                                }