Merge branch 'main' into bugfix/unify-email-sending

This commit is contained in:
nicolas committed 2021-07-28 22:01:58 +02:00
commit bd28636af5
13 files changed
+168 -92

No files matched your search

+9
View File
@@ -88,4 +88,13 @@ export default class CalEventParser {
eventCopy.description = this.getRichDescriptionHtml();
return eventCopy;
}
/**
* Returns a calendar event with rich description as plain text.
*/
public asRichEventPlain(): CalendarEvent {
const eventCopy: CalendarEvent = { ...this.calEvent };
eventCopy.description = this.getRichDescription();
return eventCopy;
}
}