Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Conversation

@DarkPurple141
Copy link
Contributor

What kind of change does this PR introduce?
Bugfix to helpers.js which specified 'utf8' rather than 'utf-8' for the script element charset.

As an aside this attribute is deprecated on script tags. It is inherited automatically as utf-8 from the document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#Deprecated_attributes

What is the current behavior?
Uses invalid/redundant charset value, which causes a warning in most browsers

Does this PR introduce a breaking change?
No.

Please check if the PR fulfills these requirements

  • The commit message follows semantic-release guidelines
  • Fix/Feature: Docs have been added/updated
  • Fix/Feature: Tests have been added; existing tests pass

Originally dealt with in #195 but wrong commit message.

Bugfix to helpers.js which specified 'utf8' rather than 'utf-8' for the script element charset.

As an aside this attribute is deprecated on script tags. It is inherited automatically as utf-8 from the document. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#Deprecated_attributes
@MatteoGabriele MatteoGabriele merged commit 0809338 into MatteoGabriele:master Mar 11, 2019
@MatteoGabriele
Copy link
Owner

thanks a lot!

@DarkPurple141 DarkPurple141 deleted the patch-2 branch March 27, 2019 02:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants