Topic on Extension talk:SimpleTable

Jump to navigation Jump to search

Only allowing one column to wrap

Vicarage (talkcontribs)

In my attempts to have tables with columns not wrapping their text (See, I came up with a solution for SimpleTable.php, a change to convertTable so only the last column wraps

                if ($col < sizeof($fields)-1) {
                  $wikitab .= $cbar . ' <span style="white-space: nowrap;">' . $field . "</span>\n";
                } else {
                  $wikitab .= $cbar . " " . $field . "\n";
Reply to "Only allowing one column to wrap"