diff options
author | Patrick Maia <patrickjourdanmaia@gmail.com> | 2015-02-03 18:48:38 +0000 |
---|---|---|
committer | Patrick Maia <patrickjourdanmaia@gmail.com> | 2015-02-03 21:36:28 +0000 |
commit | ceecfba3dda1bb77de0836ea353f635988702b7e (patch) | |
tree | 7e5b2de9ae5fc80b2cfe40bcebed314306cc8c68 /web-ui | |
parent | 0bf689fb912fad2d20a08dd358f4641c10993875 (diff) |
Issue #176 - as with special characters, white spaces are not welcome in html ids
Diffstat (limited to 'web-ui')
-rw-r--r-- | web-ui/app/js/tags/ui/tag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/tags/ui/tag.js b/web-ui/app/js/tags/ui/tag.js index 4245795a..a41310e8 100644 --- a/web-ui/app/js/tags/ui/tag.js +++ b/web-ui/app/js/tags/ui/tag.js @@ -81,7 +81,7 @@ define( if (typeof ident === 'number') { return ident; } - if (ident.match(/^[a-zA-Z0-9 ]+$/)) { + if (ident.match(/^[a-zA-Z0-9]+$/)) { return ident; } |