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

Use case insensitive scan for script type attribute WaveDrom (issue #… #344

Merged
merged 1 commit into from Nov 1, 2021

Conversation

stou
Copy link

@stou stou commented Oct 27, 2021

…343)

Fix for issue #343

HTML attributes are case insensitive, thus the scan for the type attribute of the script tag should be case insensitive.
Using the version <script type="WaveDrom"></script>, can cause problems when feed through a minification process of html generated from markdown.
E.g. by embedding in a hugo (https://gohugo.io/) based blog.

Please reference to the Issue you are fixing with this PR.

…avedrom#343)

Fix for issue wavedrom#343

HTML attributes are case insensitive, thus the scan for the type attribute of the script tag should be case insensitive.
Using the version <script type="WaveDrom"></script>, can cause problems when feed through a minification process of html generated from markdown.
E.g. by embedding in a hugo (https://gohugo.io/) based blog.
@drom drom merged commit 7218897 into wavedrom:trunk Nov 1, 2021
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.

None yet

2 participants