Skip to content

Commit

Permalink
Merge branch 'feature/generator-text-bugfix' of https://github.com/jr…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Jun 26, 2019
2 parents 5c82847 + 7a46d37 commit b93aa4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Generators/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ protected function printCodeComparisonBlock(\DOMNode $node)
}

echo '| ';
echo $firstLineText.str_repeat(' ', (47 - strlen($firstLineText)));
echo $firstLineText.str_repeat(' ', max(0, (47 - strlen($firstLineText))));
echo '| ';
echo $secondLineText.str_repeat(' ', (48 - strlen($secondLineText)));
echo $secondLineText.str_repeat(' ', max(0, (48 - strlen($secondLineText))));
echo '|'.PHP_EOL;
}//end for

Expand Down

0 comments on commit b93aa4b

Please sign in to comment.