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 3160986..638d624 100644 --- a/app/class/Element.php +++ b/app/class/Element.php @@ -46,7 +46,7 @@ class Element extends Item public function addtags() { - $this->content = PHP_EOL . '<' . $this->type() . '>' . PHP_EOL . $this->content() . PHP_EOL . '</' . $this->type() . '>' . PHP_EOL; + $this->content = '\n<' . $this->type() . '>\n' . $this->content() . '\n</' . $this->type() . '>\n'; } |