From 8accc3b7752ab31c156036beed10d431d5426b6b Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 30 Jun 2021 00:50:34 +0200 Subject: [PATCH] Fixed padding --- lib/CalEventParser.ts | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/lib/CalEventParser.ts b/lib/CalEventParser.ts index d7240fbfad..e6531b1f67 100644 --- a/lib/CalEventParser.ts +++ b/lib/CalEventParser.ts @@ -37,11 +37,8 @@ export default class CalEventParser { * Returns a footer section with links to change the event (as HTML). */ public getChangeEventFooterHtml(): string { - return ` - -Need to change this event? -Cancel: ${this.getCancelLink()} -Reschedule: ${this.getRescheduleLink()} + return `
+Need to change this event?
Cancel: ${this.getCancelLink()}
Reschedule: ${this.getRescheduleLink()} `; } @@ -61,24 +58,15 @@ Reschedule: ${this.getRescheduleLink()}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}` + + `Invitee Time Zone:
${this.calEvent.attendees[0].timeZone}
+Additional notes:
${this.calEvent.description}
` + this.getChangeEventFooterHtml() ); }