Рефакторинг

This commit is contained in:
Book Pauk
2020-11-14 23:43:22 +07:00
parent 084df35184
commit 459564cb2d
3 changed files with 11 additions and 7 deletions

View File

@@ -304,3 +304,7 @@ export function userHotKeysObjectSwap(userHotKeys) {
}
return result;
}
export function removeHtmlTags(s) {
return s.replace(/(<([^>]+)>)/ig, '');
}