Skip to content

Commit

Permalink
escape changelog entries properly
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 31, 2015
1 parent 5bd1708 commit 997d593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Model/API/Changes.pm
Expand Up @@ -124,7 +124,7 @@ sub filter_release_changes {

while ( my $entries = shift @entries_list ) {
for my $entry (@$entries) {
for ($entry) {
for ( $entry->{text} ) {
s/&/&/g;
s/</&lt;/g;
s/>/&gt;/g;
Expand Down

0 comments on commit 997d593

Please sign in to comment.