diff options
| -rw-r--r-- | gedcheck.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gedcheck.php b/gedcheck.php index 9c81b9c3b2..24f6482b0b 100644 --- a/gedcheck.php +++ b/gedcheck.php @@ -180,7 +180,7 @@ function wt_href($tag, $xref, $name='') global $WT_LINK, $target, $ged; $text=($name=='' ? "$tag $xref" : "$name ($xref)"); if (isset($WT_LINK[$tag]) && get_id_from_gedcom($ged)) { - return '‎<a href="'.$WT_LINK[$tag].str_replace('@','',$xref).'"&ged='.$ged.$target.'>'.$text.'</a>‎'; + return '‎<a href="'.$WT_LINK[$tag].str_replace('@','',$xref).'&ged='.rawurlencode($ged).'"'.$target.'>'.$text.'</a>‎'; } else { return "‎$tag $xref‎"; } |
