diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js
index 730557fca9d419342d1e61257405db2d9cd83ff8..be1be3e57e2fa7b1cf555504a731a4a3687768dd 100644
--- a/www/js/controllers/wot-controllers.js
+++ b/www/js/controllers/wot-controllers.js
@@ -239,7 +239,7 @@ function WotLookupController($scope, $state, $q, $timeout, $focus, $location, $i
 
     if ($scope.search.type == 'text') {
       var text = $scope.search.text.trim();
-      if (text.match(/^#\w+$/)) {
+      if (text.match(/^#[\wḡĞǦğàáâãäåçèéêëìíîïðòóôõöùúûüýÿ]+$/)) {
         stateParams.hash = text.substr(1);
       }
       else {
diff --git a/www/plugins/es/js/controllers/wot-controllers.js b/www/plugins/es/js/controllers/wot-controllers.js
index e9f94589bbc081bbdd16426f243c5104d0b50157..420c9ecbdeadee49581580e38761fcfcaa96b415 100644
--- a/www/plugins/es/js/controllers/wot-controllers.js
+++ b/www/plugins/es/js/controllers/wot-controllers.js
@@ -180,8 +180,7 @@ function ESWotIdentityViewController($scope, $ionicPopover, $q, UIUtils, Modals,
               UIUtils.toast.show('INVITATION.INFO.INVITATION_SENT');
             })
             .catch(UIUtils.onError('INVITATION.ERROR.SEND_INVITATION_FAILED'));
-        })
-          ;
+        });
       });
   };