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() ); }