aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelrender.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
committern-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
commitd2bbcab233dabe3b04f8c3b94a947ec174540418 (patch)
tree8ed06c1b412cc20f899686738a49bef6b1ead7d8 /app/class/Modelrender.php
parent9338d030f38b465be5f6307f5ee6f2e20d904856 (diff)
downloadwcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.tar.gz
wcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.zip
run phpcbf and add fix target to Makefile
Diffstat (limited to 'app/class/Modelrender.php')
-rw-r--r--app/class/Modelrender.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/class/Modelrender.php b/app/class/Modelrender.php
index b3ecb60..2e59da3 100644
--- a/app/class/Modelrender.php
+++ b/app/class/Modelrender.php
@@ -337,13 +337,13 @@ class Modelrender extends Modelpage
public function bodyparser(string $text)
{
$text = $this->media($text);
-
+
$text = $this->summary($text);
$text = $this->wurl($text);
$text = $this->wikiurl($text);
-
-
+
+
$text = str_replace('href="http', "class=\"external\" $this->externallinkblank href=\"http", $text);