New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prince cssprint support and dbmodnizr.js #131

Closed
aanno opened this Issue Jan 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@aanno
Copy link

aanno commented Jan 16, 2019

When using -f cssprint with prince (and the prince API jar), this always results in an empty (PDF) document. If, however, I use -f xhtml and direct invoke prince on the command line, the resulting PDF is all right.

I was able to track down the problem to the dbmodnizr.js script that is included in the (X)HTML output of the stylesheets. If I modify the stylesheets to not include dbmodnizr.js, than the -f cssprint works (i.e. processing results in a useful PDF).

@ndw ndw closed this in c0c6ef8 Jan 21, 2019

ndw added a commit that referenced this issue Jan 21, 2019

Merge pull request #132 from ndw/master
Build tweaks and fix #131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment