From 883e41ddbf0f4183fcb18602996830993ced4302 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 9 Feb 2004 21:49:14 +0000 Subject: [PATCH] link to hash --- modules/anchors.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/anchors.pl b/modules/anchors.pl index fd991b2a..4e0a5bcc 100644 --- a/modules/anchors.pl +++ b/modules/anchors.pl @@ -16,13 +16,13 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '

$Id: anchors.pl,v 1.6 2004/02/09 21:48:16 as Exp $

'; +$ModulesDescription .= '

$Id: anchors.pl,v 1.7 2004/02/09 21:49:14 as Exp $

'; push(@MyRules, \&AnchorsRule); sub AnchorsRule { if (m/\G\[\[\#([-a-zA-Z0-9_]+)\]\]/gc) { - return $q->a({-href=>"$1", -class=>'anchor'}, $1); + return $q->a({-href=>"#$1", -class=>'anchor'}, $1); } return ''; }