-
Notifications
You must be signed in to change notification settings - Fork 191
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
Dumps String with newlines to Multiline? #236
Comments
I created my own wrapping encoder which is super dirty but works. I'm not going to do a PR because I'm not sure it fully respects the specs on the edge cases (especially if the enclosed string has triple quotes), but it works for my use case as I don't have triple quotes in my strings
and to use
|
When I use this, I get
|
@vvasuki could we add a replace('"""','\"""') as a minimal way to correctly handle escaping any embedded triple quotes? |
Done (edited link in prior message.) |
How can I achieve this?
Should be
The text was updated successfully, but these errors were encountered: