-
Notifications
You must be signed in to change notification settings - Fork 8
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
"it's" changing to "its" #14
Comments
Hi, oh good point, I think recently we had to do this https://github.com/caub/pg-tsquery/blob/master/index.js#L220 where we replace single quotes by an empty string We could make the replacement configurable If you have a bit more time that I, maybe make a PR with quicks tests |
Thanks for your quick response. I'll wait for the fix as it's not very critical. |
Ok now the option is added, you could do const tsquery = Tsquery({singleQuoteReplacement: '&'});
tsquery(`It's working`)+'' // It&s&working` note that if you use |
Thank you so much. |
Hi,
Parsing
it's
returnsits
.Is there any way to make it return
it&s
instead?The text was updated successfully, but these errors were encountered: