Skip to content

Template styles being loaded twice #17

Closed
samwilson opened this Issue Mar 26, 2012 · 1 comment

1 participant

@samwilson
Collaborator

style.css is being loaded twice in action.php, once in load_template() and once in load_css(). The former is correct, because it makes use of css_loadfile() which does the proper URL fixing etc. The problem is that then it's overridden in the second inclusion, so things don't work.

Am I correct in this? I've removed the $html .= $template['css']; line in my install and everything's working correctly. I'll send a pull request...

:-) Thanks!

@samwilson samwilson added a commit to samwilson/dokuwiki-plugin-dw2pdf that referenced this issue Mar 27, 2012
@samwilson samwilson Don't include template styles twice. #17 d371e7e
@samwilson
Collaborator

Moving this to #18, which I accidentally created. ;-p

@samwilson samwilson closed this Mar 27, 2012
@samwilson samwilson added a commit to samwilson/dokuwiki-plugin-dw2pdf that referenced this issue Jan 22, 2013
@samwilson samwilson Don't include template styles twice. #17 48f6724
@samwilson samwilson added a commit to samwilson/dokuwiki-plugin-dw2pdf that referenced this issue Feb 4, 2013
@samwilson samwilson Don't include template styles twice. #17 909209f
@samwilson samwilson added a commit to samwilson/dokuwiki-plugin-dw2pdf that referenced this issue Jun 20, 2013
@samwilson samwilson Don't include template styles twice. #17 5d10bbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.