aboutsummaryrefslogtreecommitdiff
path: root/app/class/Element.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-26 18:34:59 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-26 18:34:59 +0200
commit877e0570ea7eb94e9698aab9147104f5251f55c9 (patch)
tree62fcff04bdf46de5ec504604ed67d0682b6bacdf /app/class/Element.php
parent53e6d5fde32a917718a0658fb95f366dc7dfc248 (diff)
downloadwcms-877e0570ea7eb94e9698aab9147104f5251f55c9.tar.gz
wcms-877e0570ea7eb94e9698aab9147104f5251f55c9.zip
add bookmarks to media
Diffstat (limited to 'app/class/Element.php')
-rw-r--r--app/class/Element.php2
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";
}