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

Implement nokogiri-html5-inference to properly support HTML fragment parsing #696

Merged
merged 8 commits into from
May 5, 2024

Conversation

marcoroth
Copy link
Member

@marcoroth marcoroth commented Apr 24, 2024

Type of PR

Enhancement/bug fix

Description

This pull request implements the nokogiri-html5-inference to deal with parsing HTML5 fragments to be used with Selector Morphs.

The nokogiri-html5-inference gem come about out of the discussions in #652 and sparklemotion/nokogiri#3023.

Fixes #652, Resolves #692, Resolves #674

Big thanks to @flavorjones to talking and working this through with me!

Why should this be added

This pull request makes the handling of document fragments for selector morphs more natural/predictable and resolves the last open issues to release the final versions of StimulusReflex 3.5.

Checklist

  • My code follows the style guidelines of this project
  • Checks are passing

Copy link

netlify bot commented Apr 24, 2024

Deploy Preview for stimulusreflex ready!

Name Link
🔨 Latest commit f4ae1ba
🔍 Latest deploy log https://app.netlify.com/sites/stimulusreflex/deploys/6637fc4c57e9d50008c79b62
😎 Deploy Preview https://deploy-preview-696--stimulusreflex.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@marcoroth marcoroth force-pushed the nokogiri-tests branch 2 times, most recently from 66725e2 to 44db769 Compare April 26, 2024 21:22
@marcoroth marcoroth merged commit 004355b into main May 5, 2024
18 checks passed
@marcoroth marcoroth deleted the nokogiri-tests branch May 5, 2024 21:40
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.

Document fragment now do not handle 2 siblings inputs
1 participant