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

Add option to remove "type" attribute #366 #368

Closed
wants to merge 2 commits into from

Conversation

ovidijusr
Copy link

Issue: #366

@alexander-akait
Copy link
Member

@ovidijusr thanks, can you describe use case?

@ovidijusr
Copy link
Author

Well personally, I would set not having a "type" tag as default behaviour. Because w3c markup validator gives warnings about that type. But this is breaking tests and i'm not sure if that won't affect something else.
Being said that, giving an option for this is a win/win because you can still use old behaviour and opt in for w3c correct one. cssinjs had a similar case

TLDR; if you use w3c - disabling type attribute helps to solve w3c warnings

@alexander-akait
Copy link
Member

@ovidijusr what about remove this by default?

@ovidijusr
Copy link
Author

@evilebottnawi Sure, should i update PR?

@alexander-akait
Copy link
Member

@ovidijusr yep, let's do it

@alexander-akait
Copy link
Member

Close in favor #384

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

Successfully merging this pull request may close these issues.

2 participants