3
0
Fork 0
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:
Dragory 2020-09-15 01:35:59 +03:00
parent 47319e2177
commit b758c9cfe0
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -0,0 +1,3 @@
export function stripMarkdown(str) {
return str.replace(/[*_|~`]/g, "");
}