@domain link indicator
This commit is contained in:
parent
3449d69399
commit
664fec27ef
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ class YellowMarkdownParser extends MarkdownExtraParser
|
|||
// Transform text
|
||||
function transform($text)
|
||||
{
|
||||
$text = preg_replace("/@domain/i", $this->page->serverScheme . "://" . $this->page->serverName, $text);
|
||||
$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);
|
||||
|
|
Loading…
Add table
Reference in a new issue