From 71ccf9952a6eee5da7b658d5b04e0c0a0731a81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 8 Jul 2020 02:15:24 +0200 Subject: Add xcal class to unformatted xml. --- module/output/html.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/output/html.scm b/module/output/html.scm index de5bca01..66b3ad69 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -175,7 +175,8 @@ (ul (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".ics"))) "som iCal")) (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".xcs"))) "som xCal")))))) (when (edit-mode) - `(("" (script (@ (type "application/calendar+xml")) + `(("" (script (@ (class "xcal") + (type "application/calendar+xml")) ,((@ (output xcal) vcomponent->sxcal) ev)))))))))) -- cgit v1.2.3