]> git.mxchange.org Git - friendica.git/commitdiff
Arrays
authorMichael <heluecht@pirati.ca>
Fri, 27 Dec 2019 01:15:54 +0000 (01:15 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 27 Dec 2019 01:15:54 +0000 (01:15 +0000)
src/Content/Text/HTML.php

index 9ff615edb5367dd9209bab8dffe14e61f4fad2b9..8a54c26a7ca8433a15abb958a015cb33f716eb68 100644 (file)
@@ -290,10 +290,10 @@ class HTML
 
                self::tagToBBCode($doc, 'hr', [], "[hr]", "");
 
-               self::tagToBBCode($doc, 'table', array(), "[table]", "[/table]");
-               self::tagToBBCode($doc, 'th', array(), "[th]", "[/th]");
-               self::tagToBBCode($doc, 'tr', array(), "[tr]", "[/tr]");
-               self::tagToBBCode($doc, 'td', array(), "[td]", "[/td]");
+               self::tagToBBCode($doc, 'table', [], "[table]", "[/table]");
+               self::tagToBBCode($doc, 'th', [], "[th]", "[/th]");
+               self::tagToBBCode($doc, 'tr', [], "[tr]", "[/tr]");
+               self::tagToBBCode($doc, 'td', [], "[td]", "[/td]");
 
                self::tagToBBCode($doc, 'h1', [], "[h1]", "[/h1]");
                self::tagToBBCode($doc, 'h2', [], "[h2]", "[/h2]");