Fix regression introduced to fix #55

This commit is contained in:
Stéphane Goetz
2018-06-06 23:37:26 +02:00
parent 47a9565b23
commit 6a7dae3023
3 changed files with 4 additions and 4 deletions

View File

@ -121,9 +121,7 @@ class Content extends ContentAbstract
$document = $this->getFrontMatter();
$this->attributes = array_replace_recursive($this->attributes, $document->getData());
if (!$this->manuallySetContent) {
$this->content = $document->getContent();
}
$this->content = $document->getContent();
}
public function setAttributes(array $attributes)