Skip to content

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.

1 participant