From ae3aa275f72df0edb3e2532bef350dfb5c094bdf Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 30 Jun 2021 00:16:25 +0200 Subject: [PATCH] fixed padding --- lib/CalEventParser.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/CalEventParser.ts b/lib/CalEventParser.ts index 3c1f246692..ced7276e2d 100644 --- a/lib/CalEventParser.ts +++ b/lib/CalEventParser.ts @@ -61,24 +61,24 @@ export default class CalEventParser { public getRichDescriptionHtml(): string { return ( ` - Event Type:
- ${this.calEvent.type}
-
- Invitee Email:
- ${this.calEvent.attendees[0].email}
-
` + + Event Type:
+ ${this.calEvent.type}
+
+ Invitee Email:
+ ${this.calEvent.attendees[0].email}
+
` + (this.calEvent.location ? ` - Location:
- ${this.calEvent.location}
-
+ Location:
+ ${this.calEvent.location}
+
` : "") + `Invitee Time Zone:
- ${this.calEvent.attendees[0].timeZone}
-
- Additional notes:
- ${this.calEvent.description} + ${this.calEvent.attendees[0].timeZone}
+
+ Additional notes:
+ ${this.calEvent.description} ` + this.getChangeEventFooterHtml() );