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: handle contents of tags properly by unquoting them when necessary #348

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

FlorianLoch
Copy link
Contributor

So far bare tags did not get unquoted, causing several problems. E.g., using backslashs in tags doesn't work as expected (I noticed when having a default tag containing a RegExp).

This also led to the issue described in #324.

The PR related to that issue (#330) is not really tackling the problem, it's just trying to fix the most obvious symptoms.

I added a test to ensure things are working.

@alecthomas
Copy link
Owner

Nice, thanks!

You can disable the linter with //nolint:<linter> on the line that it reported.

@FlorianLoch
Copy link
Contributor Author

You are welcome! :)

Ignored the linter and amended my commit, please try again.

@alecthomas alecthomas merged commit 37e8014 into alecthomas:master Jan 25, 2023
@alecthomas
Copy link
Owner

Thanks again!

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

Successfully merging this pull request may close these issues.

2 participants