spurkis / tap-formatter-html Goto Github PK
View Code? Open in Web Editor NEWPerl TAP::Formatter::HTML module
Home Page: http://search.cpan.org/dist/TAP-Formatter-HTML/
Perl TAP::Formatter::HTML module
Home Page: http://search.cpan.org/dist/TAP-Formatter-HTML/
When using force_inline_css
and/or force_inline_js
the rendered page include both inlined css+javascript PLUS script- and src-tags. In other words: everything is included twice. This is the reason the expand/collapse-feature on the redered page does not work.
Hi,
I need to use a slightly modified TT2 template,
but at the moment I don't see a way to use it,
because both absolute and relative paths are not allowed.
Maybe this was different in older versions of TT or I overlook something.
By default the code searches for the template in /usr/share/perl5
, the default perl5 installation path on Debian Linux.
using the options prove -l -m -P HTML=outfile:html/index.html,template:/path/to/ansi_report.tt2 ...
you get this error:
file error - /path/to/ansi_report.tt2: absolute paths are not allowed (set ABSOLUTE option)
using the options "HTML=outfile:html/index.html,template:../path/to/ansi_report.tt2"
file error - ../path/to/ansi_report.tt2: relative paths are not allowed (set RELATIVE option)
To fix this we we need to change the code in HTML.pm to allow ABSOLUTE
see also http://www.template-toolkit.org/docs/manual/Config.html#section_ABSOLUTE
As a temp. workaround I copy the template into /usr/share/perl5
. But that's abviously not a good solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.