We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The location information for the content and tag_closing are incorrect if the content in a ERBContentNode is multiline.
content
tag_closing
ERBContentNode
Input:
<%= hello %>
Parse Tree:
@ DocumentNode (location: (1:0)-(1:12)) ├── errors: [] └── children: (1 item) └── @ ERBContentNode (location: (1:0)-(1:12)) ├── errors: [] ├── tag_opening: "<%=" (location: (1:0)-(1:3)) ├── content: " hello " (location: (1:3)-(1:10)) ├── tag_closing: "%>" (location: (1:10)-(1:12)) ├── parsed: true └── valid: true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The location information for the
content
andtag_closing
are incorrect if thecontent
in aERBContentNode
is multiline.Input:
Parse Tree:
The text was updated successfully, but these errors were encountered: