Skip to content

Commit

Permalink
DEV-679: Allow all accented characters in hashtags
Browse files Browse the repository at this point in the history
  • Loading branch information
jjtykkyl committed Jul 14, 2020
1 parent 3c592c5 commit 2db2963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -2426,7 +2426,7 @@
return tag[0].outerHTML;
}

var regex = /(^|\s)#([a-zäöüß\d-_]+)/gim;
var regex = /(^|\s)#([a-z\u00C0-\u00FF\d-_]+)/gim;
html = html.replace(regex, function($0, $1, $2){
return $1 + __createTag($2);
});
Expand Down

0 comments on commit 2db2963

Please sign in to comment.