Skip to content

Commit d62843f

Browse files
committed
[css2] Also replace " by " before putting a string in a TITLE attribute.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402810
1 parent 0498096 commit d62843f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css2/bin/mkidx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ foreach $e (@sorted) {
9494
}
9595

9696
# Link to given anchor
97-
print OUTPUT ", <a href=\"$prefix#$anchor\" ";
98-
printf OUTPUT "title=\"%s\" ", join(", ", @subs);
97+
my $s = $entry;
98+
$s =~ s/::/, /go;
99+
$s =~ s/"/\&quot;/go;
100+
print OUTPUT ", <a href=\"$prefix#$anchor\" title=\"$s\" ";
99101
if ($class eq 'index-def') {
100102
print OUTPUT "class=\"index-def\"><strong>$seqno</strong>";
101103
} else {

0 commit comments

Comments
 (0)