Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Template styles being loaded twice #17

Closed
samwilson opened this Issue · 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 referenced this issue from a commit in samwilson/dokuwiki-plugin-dw2pdf
@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
@samwilson samwilson referenced this issue from a commit in samwilson/dokuwiki-plugin-dw2pdf
@samwilson samwilson Don't include template styles twice. #17 48f6724
@samwilson samwilson referenced this issue from a commit in samwilson/dokuwiki-plugin-dw2pdf
@samwilson samwilson Don't include template styles twice. #17 909209f
@samwilson samwilson referenced this issue from a commit in samwilson/dokuwiki-plugin-dw2pdf
@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.