fix links in code
This commit is contained in:
@@ -178,9 +178,6 @@ class Reader extends PhpObject
|
||||
//Enlarge line
|
||||
//if(mb_strpos($sLine, $sServName) !== false) $sLiClass .= ' bigline';
|
||||
|
||||
//Internal & external Urls
|
||||
$sLine = Toolbox::findReplaceLinks($sLine);
|
||||
|
||||
//Comments (entire line)
|
||||
$bComment = in_array($sFirstChar, $this->getWords('cComment'));
|
||||
$sLine = '<li id="'.($iLineNb+1).'" class="round_right '.$sLiClass.'">'.
|
||||
@@ -193,7 +190,7 @@ class Reader extends PhpObject
|
||||
{
|
||||
$sKey = '§'.$iLineNb.'§';
|
||||
$sPattern = '`'.preg_quote($sKey).'`su';
|
||||
$asCommentLines[$sPattern] = $sLine;
|
||||
$asCommentLines[$sPattern] = Toolbox::findReplaceLinks($sLine); //links only in comments
|
||||
$sLine = $sKey;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user