From 503eecab20226fc3a1479f14418f3d644ce8bde9 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 14 Sep 2006 07:00:43 +0000 Subject: [PATCH] Strip tags from block skip link names --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index ca8f543c3a..1d13394126 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4799,7 +4799,7 @@ function print_side_block($heading='', $content='', $list=NULL, $icons=NULL, $fo $skip_text = get_string('skipblock', 'access').' '.$block_id; } else { - $skip_text = get_string('skipa', 'access', $title); + $skip_text = get_string('skipa', 'access', strip_tags($title)); } $skip_link = ''.$skip_text.''; $skip_dest = ''; -- 2.39.5