diff options
Diffstat (limited to 'app/class/Element.php')
-rw-r--r-- | app/class/Element.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Element.php b/app/class/Element.php index 7478256..b4a9285 100644 --- a/app/class/Element.php +++ b/app/class/Element.php @@ -46,7 +46,7 @@ class Element extends Item public function addtags() { - $this->content = "\n<' . $this->type() . '>\n' . $this->content() . '\n</' . $this->type() . '>\n"; + $this->content = "\n<{$this->type()}>\n{$this->content()}\n</{$this->type()}>\n"; } |