From: Matthijs Kooijman <matthijs@stdin.nl>
Date: Tue, 27 Apr 2010 22:30:56 +0000 (+0200)
Subject: tagging: Fix one more HTML escaping issue.
X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=292b068646a58b75996b5b2cdc79e8d48befc87b;p=matthijs%2Fupstream%2Fblosxom-plugins.git

tagging: Fix one more HTML escaping issue.
---

diff --git a/xtaran/tagging b/xtaran/tagging
index 336bcc5..bde29eb 100644
--- a/xtaran/tagging
+++ b/xtaran/tagging
@@ -330,7 +330,8 @@ sub story {
 
 	my $attr_title = blosxom::blosxom_html_escape("$shared_tags_number $shared_tags_text: $shared_tags_list");
 	my $attr_href = blosxom::blosxom_html_escape($opath);
-	$related_stories .= qq($related_story_prefix<a href="$attr_href" class="$related_story_class" title="$attr_title">$title</a>);
+	my $html_title = blosxom::blosxom_html_escape($title);
+	$related_stories .= qq($related_story_prefix<a href="$attr_href" class="$related_story_class" title="$attr_title">$html_title</a>);
 
 	$related_stories .= ' (' 
 	    if $show_shared_tags || $show_number_of_shared_tags;