Skip to content

Commit

Permalink
Improve HtmlVariable
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed Nov 5, 2019
1 parent 2f7e409 commit ce75355
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Stitcher/Variable/HtmlVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ public function parse(): AbstractVariable
{
$this->parsed = File::read($this->unparsed);

if ($this->parsed === null) {
$this->parsed = $this->unparsed;
}

return $this;
}
}

0 comments on commit ce75355

Please sign in to comment.