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

Update Void Element List (Update Rails Edge) #104

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

zacheryph
Copy link
Contributor

This does a couple things due to reasons.

Removes Ruby 3.0 Support. Ruby 3.0 is EoL at the end of March, and also, Rails Edge does not support 3.0 and will simply not run at all (so all the tests fail.)

Hard codes HTML_VOID_ELEMENTS. Rails removed this constant, and replaced them with a new mechanism (which is how they track all elements.) I decided to hard code these ourselves, with a link to the living HTML standard where these are listed (This document states it was last updated Feb 24th 2024 so... up to date)

Latest Rails Edge no longer tracks void elements as a constant.
Instead of depending on this, we just hardcode the known void
list from the latest live html standard. (Dated 2024-02)

This also removes Ruby 3.0 from the supported list for two
reasons; It is EoL in March, Rails Edge no longer supports it.
Copy link
Owner

@patbenatar patbenatar left a comment

Choose a reason for hiding this comment

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

Looks good!

@patbenatar patbenatar merged commit 2bad81b into patbenatar:master Feb 26, 2024
12 checks passed
@zacheryph zacheryph deleted the update-rails-master branch February 27, 2024 04:09
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