Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Aug 28, 2015
2 parents 5ee7daa + c767f49 commit 37361ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ private function _getWikiLink($match, $title, &$renderer) {
$link['url'] = wl($args[0]);
list($id,$hash) = explode('#',$args[0],2);
if (!empty($hash)) $hash = sectionID($hash, $check);
if ($hash) $link['url'] .= '#'.$hash; //keep hash anchor
if ($hash) $link['url'] = wl($id).'#'.$hash; //keep hash anchor

$link['target'] = $conf['target']['wiki'];
$link['class'] = $exists ? 'wikilink1' : 'wikilink2';
Expand Down

0 comments on commit 37361ec

Please sign in to comment.