aboutsummaryrefslogtreecommitdiff
path: root/app/class/modelrender.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/modelrender.php')
-rw-r--r--app/class/modelrender.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/modelrender.php b/app/class/modelrender.php
index b5c8552..2d3daf1 100644
--- a/app/class/modelrender.php
+++ b/app/class/modelrender.php
@@ -414,9 +414,9 @@ class Modelrender extends Modelart
if(isset($matches)) {
foreach ($matches as $match) {
$medialist = new Medialist($match);
+ $text = str_replace($medialist->fullmatch(), $medialist->content(), $text);
}
}
-
return $text;
}