patbenatar / rbexy

A Ruby template language and component framework inspired by JSX and React
MIT License
34 stars 5 forks source link

Update Void Element List (Update Rails Edge) #104

Closed zacheryph closed 2 months ago

zacheryph commented 2 months ago

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)