refactor: fix lint warning on utils/string.js

Signed-off-by: BoHong Li <a60814billy@gmail.com>
This commit is contained in:
BoHong Li 2019-04-12 17:54:24 +08:00
parent cdf68f7c7e
commit 77af766608
No known key found for this signature in database
GPG Key ID: 9696D5590D58290F
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
'use strict' 'use strict'
function stripTags(s) { function stripTags (s) {
return s.replace(RegExp(`</?[^<>]*>`, 'gi'), '') return s.replace(RegExp(`</?[^<>]*>`, 'gi'), '')
} }