allow extension links to link to internal pages
This commit is contained in:
parent
aca8a039e1
commit
2ba285a005
@ -25,6 +25,9 @@ class ExtensionInfo { // {{{
|
||||
}
|
||||
if(preg_match("/Link: (.*)/", $line, $matches)) {
|
||||
$this->link = $matches[1];
|
||||
if($this->link[0] == "/") {
|
||||
$this->link = make_link(substr($this->link, 1));
|
||||
}
|
||||
}
|
||||
if(preg_match("/Author: (.*) [<\(](.*@.*)[>\)]/", $line, $matches)) {
|
||||
$this->author = $matches[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user