Skip to content
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

fix: remove colon escape in text property #112

Merged
merged 2 commits into from
Sep 8, 2024
Merged

Conversation

good-praxis
Copy link
Contributor

As outlined in #111, COLONs should not be escaped with a BACKSLASH in a TEXT property (capitalization to match the spec).

This removes the line I found that was doing it, a quick test run generated a valid ical file based on my usecase (as validated via https://icalendar.org/validator.html)

All tests still pass. I'm however unfamiliar with the code base and my usecase is limited in complexity, so please double check me

@hoodie
Copy link
Owner

hoodie commented Sep 8, 2024

Omg thanks. Seems I overlooked this. I'll give it a closer look tonight.

@hoodie
Copy link
Owner

hoodie commented Sep 8, 2024

could you perhaps help me with an example that I could turn into a test?

@good-praxis
Copy link
Contributor Author

Went ahead and added a unit test myself 😃

@good-praxis
Copy link
Contributor Author

And now it actually works as I'd expect that test to work, sorry about those force pushes 😅

@hoodie
Copy link
Owner

hoodie commented Sep 8, 2024

cool thanks. testing escaping of text is such a confusing matter

@hoodie hoodie merged commit 9a746a7 into hoodie:main Sep 8, 2024
7 checks passed
@hoodie
Copy link
Owner

hoodie commented Sep 8, 2024

@good-praxis
I just published 0.16.6. Thanks for the help!

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.

2 participants