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

Skip inlineStyles when already inline? #19

Closed
davidhund opened this issue Jul 13, 2017 · 2 comments
Closed

Skip inlineStyles when already inline? #19

davidhund opened this issue Jul 13, 2017 · 2 comments
Labels

Comments

@davidhund
Copy link

This could be seen as a user error, but I noticed that inlineStyles basically duplicated my already-inline styles.

For my site I have all styles as an inline style block in the head. So no external <link>.

usus render --url https://valuedstandards.com/ --inlineStyles true > valuedstandards.html

.. will result in duplicate <style> blocks in the <head> :-)

Again: this might be to be expected since I should not have used inlineStyles, but it would be neat if this could be caught.

@gajus gajus added the bug label Jul 13, 2017
@gajus
Copy link
Owner

gajus commented Jul 13, 2017

No, this sounds like a bug. Thank you for reporting.

@gajus gajus closed this as completed in 60ad77a Jul 13, 2017
@gajus
Copy link
Owner

gajus commented Jul 13, 2017

🎉

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

No branches or pull requests

2 participants