Skip to content
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

wrong pdf export #9

Open
ilkosta opened this issue Apr 24, 2015 · 1 comment
Open

wrong pdf export #9

ilkosta opened this issue Apr 24, 2015 · 1 comment

Comments

@ilkosta
Copy link

ilkosta commented Apr 24, 2015

Hi,
the plugin is really useful and I would use it to enable the creation of documents related to the organization of the project which includes it.
It would be nice to have the exported PDF to be correct.

Now with a wiki-page like this:

h1. Test

{{html
<p id="key"></p>
}}

{{js_url('https://raw.githubusercontent.com/ilkosta/playing_with_redmine/master/get_key.js')}}

the exported PDF is:

Test

var head = document.getElementsByTagName('head')[0], t = document.createElement('script'); t.src =
'https://raw.githubusercontent.com/ilkosta/playing_with_redmine/master/get_key.js'; t.type='text/javascript'; head.appendChild(t);

I know that the problem is not caused directly by the plugin, but do you have any idea to be able to solve it ?

@mexitek
Copy link
Owner

mexitek commented Jan 30, 2016

Hey this issue, slipped through the cracks. I wouldn't know how to bypass the javascript output for printing the page. Maybe Redmine has hooks into knowing when the page is being exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants