Improper __DATA__ formatting in "Source" view #210

Closed
xsawyerx opened this Issue Jul 4, 2012 · 6 comments

3 participants

@xsawyerx

The module Acme::rafl::Everywhere contains its list of facts in the __DATA__ section.

When viewing the source, only one line is available and it's highlighted as actual code:

https://metacpan.org/source/XSAWYERX/Acme-rafl-Everywhere-0.002/lib/Acme/rafl/Everywhere.pm

When viewing the raw version, the entire thing is available.

@benkasminbullock

This is an API bug. The API result:

http://explorer.metacpan.org/?url=%2Ffile%2FXSAWYERX%2FAcme-rafl-Everywhere-0.002%2Flib%2FAcme%2Frafl%2FEverywhere.pm&content=

returns

"pod_lines" : [
      [
         47,
         22
      ],
      [
         73,
         36
      ]
   ],

and the "toggle pod" JavaScript is just doing what it's told with the above numbers, which are incorrect.

@xsawyerx

@benkasminbullock thank you for the valuable added information. Is this still the proper place for the ticket, or should I open it elsewhere?

@benkasminbullock

@xsawyerx: oops, sorry, I didn't even notice that this was the API bug list. I didn't remember I was watching the CPAN API repository and assumed that this was reported on the metacpan web repository.

@xsawyerx

@benkasminbullock that's cool, you did provide important info to this. Just making sure I haven't opened an issue in the wrong place. :)

@benkasminbullock

The bug here still remains, unfortunately.

@oalders
MetaCPAN member

This looks to be fixed now.

@oalders oalders closed this Mar 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment