This commit is contained in:
Florian Trudel 2015-06-09 22:07:10 +02:00
parent 919c890252
commit 484c62e5e4

View file

@ -51,8 +51,8 @@ class YellowMarkdownParser extends MarkdownExtraParser
$text = preg_replace("/@pageRead/i", $this->page->get("pageRead"), $text);
$text = preg_replace("/@pageEdit/i", $this->page->get("pageEdit"), $text);
$text = preg_replace("/@pageError/i", $this->page->get("pageError"), $text);
$text = parent::transform( $text );
$text = preg_replace( "/".$this->page->base.$this->page->location."@domain/i", "", $text );
$text = parent::transform($text);
$text = preg_replace("/".$this->page->base.$this->page->location."@domain/i", "", $text);
return $text;
}