fixed parsing of tables

feature/tests
Michael Ochmann 3 years ago
parent 35546e556a
commit 3ea15a3f51
  1. 3
      src/Parser.php

@ -332,7 +332,6 @@ class Parser {
$elm->appendChild($col);
$i++;
}
$this->consume(); // EOL
return $elm;
}
@ -344,6 +343,8 @@ class Parser {
private function parseTableAlignment() : array {
$props = [];
$this->consume(); // EOL
while ($this->current()->type !== TokenType::EOL && $this->current()->type !== TokenType::EOF) {
$pipe = $this->consume();
$buffer = "";

Loading…
Cancel
Save