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

Fix tag attribute spacing #487

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Fix tag attribute spacing #487

merged 2 commits into from
Feb 4, 2024

Conversation

MaxLap
Copy link
Contributor

@MaxLap MaxLap commented Feb 2, 2024

Fixes #485

A side benefit of this change is that we generate less Ruby for RuboCop, so maybe a bit of performance benefit.

Helps deal with updating generated ruby when changing extractor stuff
This allows cleaner representation of tag attributes, and improved corrections.
Also moved the begin...ensure of tags's to be only for its children, not the tag placeholder, nor tag attributes nor tag scripts.
This may also help with performance a little by often not needing to have a begin...ensure at all.
@MaxLap MaxLap force-pushed the fix_tag_attribute_spacing branch 3 times, most recently from 81e4c35 to e78b2b5 Compare February 2, 2024 03:55
@sds sds added the bug label Feb 4, 2024
@sds sds merged commit 25120e8 into sds:main Feb 4, 2024
34 of 35 checks passed
@sds
Copy link
Owner

sds commented Feb 4, 2024

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layout/ArgumentAlignment - False positive?
2 participants