mirror of
https://github.com/status-im/codimd.git
synced 2025-02-13 14:17:05 +00:00
refactor: fix lint warning on utils/string.js
Signed-off-by: BoHong Li <a60814billy@gmail.com>
This commit is contained in:
parent
cdf68f7c7e
commit
77af766608
@ -1,6 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
function stripTags(s) {
|
||||
function stripTags (s) {
|
||||
return s.replace(RegExp(`</?[^<>]*>`, 'gi'), '')
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user