1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

upd bundles

This commit is contained in:
Peter Savchenko 2019-03-13 12:20:32 +03:00
parent 5dd2a4f897
commit a2a37eeed2
No known key found for this signature in database
GPG key ID: 63E739583C761566
2 changed files with 2 additions and 376 deletions

File diff suppressed because one or more lines are too long

View file

@ -12,7 +12,7 @@ module.exports = function urlify(string) {
string = string.replace(/(<([^>]+)>)/ig, ''); string = string.replace(/(<([^>]+)>)/ig, '');
// remove nbsp // remove nbsp
string =string.replace(/&nbsp;/g, ' '); string = string.replace(/&nbsp;/g, ' ');
// remove all symbols except chars // remove all symbols except chars
string = string.replace(/[^a-zA-Z0-9А-Яа-яЁё ]/g, ' '); string = string.replace(/[^a-zA-Z0-9А-Яа-яЁё ]/g, ' ');