Code Duplication    Length = 3-3 lines in 2 locations

class/GwikiPage.php 2 locations

@@ 1554-1556 (lines=3) @@
1551
                foreach ($cols as $col) {
1552
                    if (empty($col)) {
1553
                        $table .= '<td>&nbsp;</td>';
1554
                    } elseif ($col[0] === '=') {
1555
                        $table .= '<th>' . substr($col, 1) . '</th>';
1556
                    } elseif ($col[0] === '>') {
1557
                        $table .= '<td class="right">' . substr($col, 1) . '</td>';
1558
                    } elseif ($col[0] === '+') {
1559
                        $table .= '<td class="center">' . substr($col, 1) . '</td>';
@@ 1558-1560 (lines=3) @@
1555
                        $table .= '<th>' . substr($col, 1) . '</th>';
1556
                    } elseif ($col[0] === '>') {
1557
                        $table .= '<td class="right">' . substr($col, 1) . '</td>';
1558
                    } elseif ($col[0] === '+') {
1559
                        $table .= '<td class="center">' . substr($col, 1) . '</td>';
1560
                    } elseif (substr($col, 0, 4) === '&lt;') {
1561
                        $table .= '<td class="left">' . substr($col, 4) . '</td>';
1562
                    } elseif (preg_match('/^\s*[0-9.$+\-]+\s*$/', $col)) {
1563
                        $class = 'number';