add titles, description and images for seo
This commit is contained in:
@@ -51,6 +51,10 @@ export function stripWhitespace(s: string): string {
|
||||
return s.replace(/\s/g, "");
|
||||
}
|
||||
|
||||
export function stripHtml(s: string): string {
|
||||
return s.replace(/(<([^>]+)>)/gi, "");
|
||||
}
|
||||
|
||||
export function formatPhoneE164(phone: string): string {
|
||||
phone = stripWhitespace(phone);
|
||||
if (phone.startsWith("+") || phone.length != 8) {
|
||||
|
||||
Reference in New Issue
Block a user