Skip to content
Snippets Groups Projects
Unverified Commit 9f5adc48 authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

Lint

parent 22671a9e
No related branches found
No related tags found
No related merge requests found
// default email engines - like gmail - will render texts with dots as an anchor tag. // default email engines - like gmail - will render texts with dots as an anchor tag.
// If we can, we should avoid that. // If we can, we should avoid that.
export const safeHtmlDots = (text: string): string => { export const safeHtmlDots = (text: string): string => {
return text.replace(/\./g, '&#8228'); return text.replace(/\./g, '&#8228');
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment