Navigation Menu

Skip to content

Commit

Permalink
fix encoding of characters in index links
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Jan 11, 2017
1 parent b373b33 commit b6d5f4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MetaCPAN/Pod/XHTML.pm
Expand Up @@ -33,7 +33,8 @@ sub _end_head {
$self->{more_ids} = [ $self->id_extras($head_name) ];
$self->SUPER::_end_head(@_);
my $index_entry = $self->{'to_index'}[-1];
$index_entry->[1] = $self->url_encode( $index_entry->[1] );
$index_entry->[1] = $self->encode_entities(
$self->url_encode( decode_entities( $index_entry->[1] ) ) );
return;
}

Expand Down

0 comments on commit b6d5f4f

Please sign in to comment.