pjcj / Devel--Cover

Code coverage metrics for Perl
http://www.pjcj.net/perl.html
93 stars 87 forks source link

Restore split token used in 'html_basic' report #318

Closed jkahrman closed 1 year ago

jkahrman commented 1 year ago

Fixes #270

Regression from f6ac419. When the whitespace of Devel::Cover::Reporter::Html_basic was cleaned up, whitespace was added to the token used in the 'split' calls below it. The PPI::HTML document no longer parsed correctly.

Removing the spaces between the word 'class' and the '=' in the $split string fixes the issue.

pjcj commented 1 year ago

Thanks for finding and fixing my silly mistake! I have added this in e04df68fba1928e364fafc19a3b735413eb392f9 and also added you to the Contributors file. If you'd like to delete or change your entry (all I have right now is your github username) please just let me know or make a PR.