Skip to content

Commit

Permalink
Delete replaceHTMLTags
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Nov 22, 2024
1 parent 60aea74 commit 0182bc6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils/formatOrganizerDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ const formatEmailAndPhone = ({ email, phone }: Organizer['contactPoint']) => {
return contactDetails.join('\n');
};

const replaceHTMLTags = (text: string) => {
return text.replace(/<\/?[^>]+(>|$)/g, '');
};

export { formatEmailAndPhone, parseAddress, replaceHTMLTags };
export { formatEmailAndPhone, parseAddress };

0 comments on commit 0182bc6

Please sign in to comment.