mirror of https://github.com/status-im/codimd.git
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…
Reference in New Issue