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

Change tag rendering to support escaped characters in value strings again #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pieceofsoul
Copy link

In a previous version it was possible to provide a string as tag value which contained escaped characters.

50f4f83 changed the tag rendering to use %q instead of %s - which changed the behaviour how escaped strings are processed and rendered.

This PR proposes to change this back, because there are cases which require the processing of escaped strings. E.g. This is required to create appropriate regexp tags for using github.com/asaskevich/govalidator

%q instead of %s prevents correct render of escaped character sequences
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.

None yet

1 participant