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

[zend-view] Updated HeadScript to allow for proper html5 syntax creation #103

Merged
merged 5 commits into from
Feb 25, 2024

Conversation

@glensc glensc changed the title Updated HeadScript to allow for proper html5 syntax creation [zend-view] Updated HeadScript to allow for proper html5 syntax creation Sep 10, 2021
@falkenhawk
Copy link
Member

Nice! could we have a test perhaps 😅

Copy link
Member

@falkenhawk falkenhawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To get this merged, a test covering the change must be added, possibly to tests/Zend/View/Helper/HeadScriptTest.php 🙏

@glensc
Copy link
Contributor Author

glensc commented Jan 23, 2024

@falkenhawk I don't think I will be working on this. you can close if you don't plan to take over.

- it was rendering a html attribute for `false` value which is the opposite of what's expected
- render attribute in minimized form when value is empty string, true or same as attribute name
- added a test
@falkenhawk falkenhawk merged commit 8a47fd8 into zf1s:master Feb 25, 2024
13 checks passed
@falkenhawk falkenhawk mentioned this pull request Feb 25, 2024
@glensc glensc deleted the zf1-future-107 branch February 26, 2024 19:15
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.

3 participants