Skip to content

Commit 5a9fe97

Browse files
committed
Remove unnecessary table postprocessing
1 parent ca28204 commit 5a9fe97

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

includes/PandocTextPostporcessor.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44

55
class PandocTextPostporcessor
66
{
7-
private static function fixTableDeclaration(&$line)
8-
{
9-
if ($line == "{|") {
10-
$line = "{| class='wikitable'";
11-
}
12-
}
13-
147
private static function fixFileLinks(&$line, $imagesVocabulary)
158
{
169
// images voc processing -- bind to new file names
@@ -33,7 +26,6 @@ public static function postprocess($text, $imagesVocabulary)
3326
{
3427
$linesArray = explode("\n", $text);
3528
foreach ($linesArray as &$line) {
36-
PandocTextPostporcessor::fixTableDeclaration($line);
3729
PandocTextPostporcessor::fixFileLinks($line, $imagesVocabulary);
3830

3931
# TODO: fix headers if header starts from level 1 (=header=)

0 commit comments

Comments
 (0)