preg fix
This commit is contained in:
parent
484c62e5e4
commit
08cf88d9eb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class YellowMarkdownParser extends MarkdownExtraParser
|
|||
$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 = preg_replace("/".preg_quote( $this->page->base.$this->page->location, "/" )."@domain/i", "", $text);
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue