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

Tag node multiline attributes detection (fix #49) #50

Closed
wants to merge 2 commits into from
Closed

Tag node multiline attributes detection (fix #49) #50

wants to merge 2 commits into from

Conversation

seanwalbran
Copy link

Handle multiline attributes in TagNode#dynamic_attributes_source to fix #49.

@sds
Copy link
Owner

sds commented Dec 16, 2014

Sorry for the delay in merging this, @seanwalbran. I had a concern with the presence of both Node#first_line_source and Node#source_from_first_line methods, and wanted to give some deeper thought about how they could be consolidated.

I've merged your changes in da6a40b and made some modifications in 0cc7212 and 81aafb6, which I think will be conceptually clearer going forward.

Thanks again for your contribution to haml-lint!

@sds sds closed this Dec 16, 2014
@sds sds added the bug label Dec 16, 2014
@seanwalbran
Copy link
Author

Looks great to me, thanks!

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.

TagNode#hash_attributes? and #hash_attributes_source fail for multiline hash attributes
2 participants