arran4 / golang-ical

A ICS / ICal parser and serialiser for Golang.
Apache License 2.0
279 stars 72 forks source link

Revert incorrect text escaping patch. #87

Closed frereit closed 4 months ago

frereit commented 4 months ago

This reverts commit 3ffa099f553cee70045fefbd8303743f72ddc0cc.

Apparently, this was buggy, I'm sorry. With this patch, serializing calenders was a bit over ambitious with escaping, leading to escaped RRULEs where they shouldn't be.

I've added a test that showcases this behavior and reverted the commit.

arran4 commented 4 months ago

hah. I thought there was something a bit suss -- I should have put more work into this one. Thanks for the tests.