clean up and improve perf
This commit is contained in:
@@ -20,6 +20,8 @@ function isURL(string: string) {
|
||||
}
|
||||
|
||||
export function parser(eventContent: string) {
|
||||
if (!eventContent) return '';
|
||||
|
||||
try {
|
||||
const content: RichContent = {
|
||||
parsed: null,
|
||||
|
||||
Reference in New Issue
Block a user