mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Include stripMarkdown.ts
Was originally supposed to be part of
commit cb5723db7c
This commit is contained in:
parent
47319e2177
commit
b758c9cfe0
1 changed files with 3 additions and 0 deletions
3
backend/src/utils/stripMarkdown.ts
Normal file
3
backend/src/utils/stripMarkdown.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export function stripMarkdown(str) {
|
||||
return str.replace(/[*_|~`]/g, "");
|
||||
}
|
Loading…
Add table
Reference in a new issue