From b7de755649ce8ed99a77ae5767a5ad1d0408556f Mon Sep 17 00:00:00 2001 From: lutranf Date: Wed, 10 Sep 2014 15:01:58 +0200 Subject: [PATCH] fix links in code --- inc/reader.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/reader.php b/inc/reader.php index c9facbb..46366d9 100644 --- a/inc/reader.php +++ b/inc/reader.php @@ -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 = '
  • '. @@ -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; }