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

handle attribute with text equal to single quote (i.e. ") #1726

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

hmittal1
Copy link
Contributor

Attribute method is not able to handle the string with a single quote. We trim the quotes from the string without checking its length, and it's causing an issue if string has only one character. e.g. val="

Attribute method is not able to handle the string with a single quote. We trim the quotes from the string without checking its length, and it's causing an issue if string has only one character.
e.g.
val="
@angelozerr
Copy link
Contributor

@hmittal1 thanks so much for your contribution.

Could you fill the ECA please.

@hmittal1
Copy link
Contributor Author

@hmittal1 thanks so much for your contribution.

Could you fill the ECA please.

Done.

@mickaelistria mickaelistria merged commit a5f12dd into eclipse-lemminx:main Jan 29, 2025
5 of 6 checks passed
@mickaelistria
Copy link
Contributor

Thank you for this good PR!

@angelozerr
Copy link
Contributor

Thanks @hmittal1 !

@angelozerr angelozerr added this to the 0.29.1 milestone Jan 29, 2025
@angelozerr angelozerr added the bug Something isn't working label Jan 29, 2025
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.

3 participants