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 checked to htmlBooleanAttributes #12311

Merged
merged 4 commits into from
Nov 6, 2024
Merged

Conversation

dinesh-58
Copy link
Contributor

Changes

Testing

Didn't run tests because a similar issue #12023 was fixed without tests.

Docs

No docs added because as per this link, all html boolean attributes should behave such that a truthy value returns only the attribute, instead of with the "true" string as well.

Copy link

changeset-bot bot commented Oct 26, 2024

🦋 Changeset detected

Latest commit: 3ce7eb5

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) semver: major Change triggers a `major` release labels Oct 26, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This PR is blocked because it contains a major changeset. A reviewer will merge this at the next release if approved.

packages/astro/src/runtime/server/render/util.ts Outdated Show resolved Hide resolved
.changeset/brown-rocks-ring.md Outdated Show resolved Hide resolved
.changeset/brown-rocks-ring.md Outdated Show resolved Hide resolved
@ematipico ematipico merged commit bf2723e into withastro:main Nov 6, 2024
4 of 5 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) semver: major Change triggers a `major` release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add checked boolean attribute to htmlBooleanAttributes as well
3 participants