diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/html/util.scm | 6 | ||||
-rw-r--r-- | module/html/vcomponent.scm | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/module/html/util.scm b/module/html/util.scm index edbcf756..c9252122 100644 --- a/module/html/util.scm +++ b/module/html/util.scm @@ -42,6 +42,6 @@ ;; TODO? same event placed multiple times, when spanning multiple cells (define-public html-id (let ((id (make-object-property))) - (lambda (ev) - (or (id ev) - (set/r! (id ev) (symbol->string (gensym "__html_id_"))))))) + (lambda (ev) + (or (id ev) + (set/r! (id ev) (symbol->string (gensym "__html_id_"))))))) diff --git a/module/html/vcomponent.scm b/module/html/vcomponent.scm index 7d2cace1..6836e777 100644 --- a/module/html/vcomponent.scm +++ b/module/html/vcomponent.scm @@ -123,7 +123,8 @@ (class "CAL_" ,(html-attr (or (prop (parent ev) 'NAME) "unknown")))) fmt-header: (lambda body - `(a (@ (href "#" ,(date-link (as-date (prop ev 'DTSTART)))) + `(a (@ (href "#" ,(html-id ev) #; (date-link (as-date (prop ev 'DTSTART))) + ) (class "hidelink")) ,@body)))) (stream-filter |