zappyzep/backend/src/utils/stripMarkdown.ts
Dragory b758c9cfe0
Include stripMarkdown.ts
Was originally supposed to be part of
commit cb5723db7c
2020-09-15 01:35:59 +03:00

3 lines
77 B
TypeScript

export function stripMarkdown(str) {
return str.replace(/[*_|~`]/g, "");
}