metacpan / metacpan-api

A free, open API for everything you want to know about CPAN
http://www.metacpan.org/
Other
289 stars 196 forks source link

Angle brackets in abstract don't get rendered right in /recent or on the release page for a dist #873

Open neilb opened 10 years ago

neilb commented 10 years ago

I just released Pod::Escapes, which has the following abstract:

for resolving Pod E<...> sequences

The abstract in the source is:

for resolving Pod EE<lt>...E<gt> sequences

When looking at the doc for the module itself, this is displayed correctly.

But on the release page the entity escaping is broken, so the summary is displayed as:

for resolving Pod Elt...gt sequences

The same broken summary is displayed on the recent page as well.

I suspect this is a double encoding issue: the summary should be first processed as pod, then escaped for HTML.

oalders commented 10 years ago

This is broken in the indexer: http://explorer.metacpan.org/?url=/module/NEILB/Pod-Escapes-1.06/lib/Pod/Escapes.pm

"abstract" : "for resolving Pod Elt...gt sequences"

Raw Pod is Pod::Escapes - for resolving Pod EE<lt>...E<gt> sequences