No HTMl in rich event description
This commit is contained in:
1 parent
5cf6e61061
commit
e5d94e74a2
2 files changed
+11
-2
No files matched your search
@@ -86,4 +86,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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user