|
@@ -300,9 +300,12 @@ class Parser
|
|
|
|
|
|
while ($this->moveToNextLine())
|
|
|
{
|
|
|
- if ($this->isCurrentLineBlank())
|
|
|
+ if ($this->isCurrentLineEmpty())
|
|
|
{
|
|
|
- $data[] = substr($this->currentLine, $newIndent);
|
|
|
+ if ($this->isCurrentLineBlank())
|
|
|
+ {
|
|
|
+ $data[] = substr($this->currentLine, $newIndent);
|
|
|
+ }
|
|
|
|
|
|
continue;
|
|
|
}
|