absolute, untouched domain links now possible, if a '!' is inserted as first character.
[FOO](!/bar)
This commit is contained in:
parent
884a6c8ae8
commit
3449d69399
1 changed files with 2 additions and 0 deletions
|
@ -2040,6 +2040,8 @@ class YellowLookup
|
|||
if(preg_match("/^\#/", $location))
|
||||
{
|
||||
$location = $pageBase.$pageLocation.$location;
|
||||
} else if( preg_match( "/^\!/", $location )) {
|
||||
$location = substr( $location, 1 );
|
||||
} else if(!preg_match("/^\//", $location)) {
|
||||
$location = $this->getDirectoryLocation($pageBase.$pageLocation).$location;
|
||||
} else if(!preg_match("#^$pageBase#", $location)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue