mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 18:34:30 +00:00
238bf1cc78
Signed-off-by: Raccoon <raccoon@hackmd.io>
4 lines
84 B
TypeScript
4 lines
84 B
TypeScript
export function stripTags(s) {
|
|
return s.replace(RegExp('</?[^<>]*>', 'gi'), '')
|
|
}
|