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 false negatives for link-to with data- prefixed route name #214

Merged
merged 4 commits into from
Dec 21, 2019

Conversation

tylerturdenpants
Copy link
Collaborator

@tylerturdenpants tylerturdenpants commented Dec 21, 2019

The original logic would consider any parameter a data attribute if the original had the substring data- . This fix further reduces the ambiguity of the parameter by enforcing that it also can't be a StringLiteral and that it must be a PathExpression

This fixes #212

@Turbo87 Turbo87 added the bug Something isn't working label Dec 21, 2019
@Turbo87 Turbo87 changed the title Fix data attribute handling Fix false negatives for link-to with data- prefixed route name Dec 21, 2019
@Turbo87 Turbo87 merged commit b6344bc into master Dec 21, 2019
@Turbo87 Turbo87 deleted the fix/patch-212 branch December 21, 2019 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple block link-to not converted
2 participants