Skip to content

Commit

Permalink
fix(calendar): remove extra characters from newline
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Sep 3, 2024
1 parent 58e16f4 commit 9d37059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/events/list.ics
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SEQUENCE:0
CLASS:PUBLIC
SUMMARY:{{ .Title }}
{{ $description := .Content | plainify }}
{{ $description := replace $description "\n" "=0D=0A" }}
{{ $description := replace $description "\n" "" }}
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:{{ $description }}
UID:{{.Params.start}}@berlin.freifunk.net
DTSTART;TZID=Europe/Berlin;VALUE=DATE-TIME:{{dateFormat "20060102T150405" .Params.start}}
Expand Down

0 comments on commit 9d37059

Please sign in to comment.