astro-theme-popular 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/ical.ts +2 -2
package/package.json
CHANGED
package/src/lib/ical.ts
CHANGED
|
@@ -57,10 +57,10 @@ export function buildIcs(
|
|
|
57
57
|
const L: string[] = [];
|
|
58
58
|
L.push(fold('BEGIN:VCALENDAR'));
|
|
59
59
|
L.push(fold('VERSION:2.0'));
|
|
60
|
-
L.push(fold(`PRODID:-//${opts.siteTitle}//Popular theme//EN`));
|
|
60
|
+
L.push(fold(`PRODID:-//${icsEscape(opts.siteTitle)}//Popular theme//EN`));
|
|
61
61
|
L.push(fold('CALSCALE:GREGORIAN'));
|
|
62
62
|
L.push(fold('METHOD:PUBLISH'));
|
|
63
|
-
L.push(fold(`X-WR-CALNAME:${opts.siteTitle} events`));
|
|
63
|
+
L.push(fold(`X-WR-CALNAME:${icsEscape(opts.siteTitle)} events`));
|
|
64
64
|
/* Subscription refresh hints (RFC 7986 + the Apple/Outlook legacy twin).
|
|
65
65
|
Google Calendar ignores both and polls on its own schedule. */
|
|
66
66
|
L.push(fold('REFRESH-INTERVAL;VALUE=DURATION:PT12H'));
|