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