-
Notifications
You must be signed in to change notification settings - Fork 134
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
Newlines in description #81
Comments
@mrjcleaver feel like improving the parse method so it properly escapes the strings? |
+1. Just ran into the same issue. Came here to find that there's already an issue for it. PS: thanks for the workaround @mrjcleaver, you saved me a bunch of time. |
Using @mrjcleaver's workaround allows me to save a new event to Google Calendar, but the subsequent
results in
|
Update: If I pass a block to |
I was trying to put newlines in the description. Failed with a parse error.
Per http://stackoverflow.com/questions/7830582/newline-for-google-calendar-api it turns out this needs to be json escaped. Tried using solution on http://stackoverflow.com/questions/6783988/encode-a-ruby-string-to-a-json-string only to find that something objected to the leading and trailing quote.
Is my ugly workaround.
The text was updated successfully, but these errors were encountered: