Skip to content

Commit

Permalink
Remove no longer necessary line ending escape hack
Browse files Browse the repository at this point in the history
It appears that with recent releases icalendar-rs fixed the escape
issues relating to line endings. As such, we no longer need the hack
that we put in place to work around the broken logic earlier. Remove it.
  • Loading branch information
d-e-s-o committed Aug 29, 2024
1 parent c4845b9 commit 6fcc032
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ser/backends/ical/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ impl TryFrom<&Todo> for Task {
.get_description()
.unwrap_or("")
.to_string()
// TODO: The first `replace` should not be necessary. It is needed right
// now due to https://github.com/hoodie/icalendar-rs/issues/87,
// but this should be fixed upstream.
.replace("\\n", "\n")
.replace('\n', LINE_END_STR);
let tags = todo
.property_value(TAGS_PROPERTY)
Expand Down

0 comments on commit 6fcc032

Please sign in to comment.