timbunce / devel-nytprof

Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
http://blog.timbunce.org/tag/nytprof/
67 stars 51 forks source link

Patches for minor glitches in nytprofhtml #105

Closed ghost closed 7 years ago

ghost commented 8 years ago

Here are the commit messages for convenience.

Fix invalid utf-8 character in resulting HTML file

We want to have "\xB5]s" in our output file (part of a regex) instead of the bytestring \xB5\x5D\x73 - which gives us invalid UTF-8.

nytprofhtml CSS: Play nicer with themes

Fixes problems with dark desktop themes (light font on light background, barely links).

Just sets the colors on the BODY element and trusts in inheritance.

Also, set the color of unvisited links - which will propbably be set by the (dark) theme, too.

timbunce commented 7 years ago

Thanks @SebastianRose!