Remove FileRepo::streamFile()
[lhc/web/wiklou.git] / includes / parser / RemexStripTagHandler.php
index a41e7b6..2d75c86 100644 (file)
@@ -52,7 +52,7 @@ class RemexStripTagHandler implements TokenHandler {
        // (although "block-level" is not technically defined for elements that are
        // new in HTML5).
        // Structured as tag => true to allow O(1) membership test.
-       static private $BLOCK_LEVEL_TAGS = [
+       private static $BLOCK_LEVEL_TAGS = [
                'address' => true,
                'article' => true,
                'aside' => true,
@@ -87,7 +87,10 @@ class RemexStripTagHandler implements TokenHandler {
                'pre' => true,
                'section' => true,
                'table' => true,
+               'td' => true,
                'tfoot' => true,
+               'th' => true,
+               'tr' => true,
                'ul' => true,
                'video' => true,
        ];