diff --git a/src/Generators/Ics.php b/src/Generators/Ics.php index 24a37fe..7730d3a 100644 --- a/src/Generators/Ics.php +++ b/src/Generators/Ics.php @@ -51,7 +51,6 @@ public function generate(Link $link): string if ($link->description) { $url[] = 'DESCRIPTION:'.strip_tags($link->description); - $url[] = 'X-ALT-DESC;FMTTYPE=text/html:'.$this->escapeString($link->description); } if ($link->address) { $url[] = 'LOCATION:'.$this->escapeString($link->address); diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_description_is_html_code_event_link_with_allday_flag__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_description_is_html_code_event_link_with_allday_flag__1.txt index ae551b6..d402c87 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_description_is_html_code_event_link_with_allday_flag__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_description_is_html_code_event_link_with_allday_flag__1.txt @@ -15,7 +15,6 @@ Project link calendar-links Thank you. -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog.\nThere will be line breaks on it.\nProject link calendar-links\n\n
\nThank you.\n LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link__1.txt index 598adcd..c7bfc9f 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link__1.txt @@ -9,7 +9,6 @@ DTSTART;TZID=UTC:20191231T230000 DTEND;TZID=UTC:20200101T010000 DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.txt index c73d33d..1833333 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.txt @@ -9,7 +9,6 @@ DTSTART:20180201 DURATION:P5D DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_short_event_link__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_short_event_link__1.txt index f678241..73b1047 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_short_event_link__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_short_event_link__1.txt @@ -9,7 +9,6 @@ DTSTART;TZID=UTC:20180201T090000 DTEND;TZID=UTC:20180201T180000 DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.txt index 55b1ff4..5aca603 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.txt @@ -9,7 +9,6 @@ DTSTART:20180201 DURATION:P1D DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_an_ics_link_with_custom_uid__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_an_ics_link_with_custom_uid__1.txt index 7564feb..8a87e9b 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_an_ics_link_with_custom_uid__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_an_ics_link_with_custom_uid__1.txt @@ -9,7 +9,6 @@ DTSTART;TZID=UTC:20180201T090000 DTEND;TZID=UTC:20180201T180000 DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_dtstamp__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_dtstamp__1.txt index f678241..73b1047 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_dtstamp__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_dtstamp__1.txt @@ -9,7 +9,6 @@ DTSTART;TZID=UTC:20180201T090000 DTEND;TZID=UTC:20180201T180000 DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file diff --git a/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_id__1.txt b/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_id__1.txt index f678241..73b1047 100644 --- a/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_id__1.txt +++ b/tests/Generators/__snapshots__/IcsGeneratorTest__it_has_a_product_id__1.txt @@ -9,7 +9,6 @@ DTSTART;TZID=UTC:20180201T090000 DTEND;TZID=UTC:20180201T180000 DESCRIPTION:With balloons, clowns and stuff Bring a dog, bring a frog -X-ALT-DESC;FMTTYPE=text/html:With balloons\, clowns and stuff\nBring a dog\, bring a frog LOCATION:Party Lane 1A\, 1337 Funtown END:VEVENT END:VCALENDAR \ No newline at end of file