Skip to content

Commit cc47af5

Browse files
committed
run linter
1 parent 7255987 commit cc47af5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/api/sqs/handlers/emailNotifications.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ const compiledTemplate = Handlebars.compile(emailTemplate);
1818

1919
const stripHtml = (html: string): string => {
2020
// Remove all HTML tags and attributes, then normalize whitespace and trim
21-
const sanitized = sanitizeHtml(html, { allowedTags: [], allowedAttributes: {} });
21+
const sanitized = sanitizeHtml(html, {
22+
allowedTags: [],
23+
allowedAttributes: {},
24+
});
2225
return sanitized.replace(/\s+/g, " ").trim();
2326
};
2427

0 commit comments

Comments
 (0)