Skip to content

Commit

Permalink
Don't remove non-ascii chars because it messes with non-english and e…
Browse files Browse the repository at this point in the history
…mojis
  • Loading branch information
imightbeamy committed May 18, 2017
1 parent 6c26f8c commit bed9a53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions events.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ EventMerger.prototype = {

function cleanEventTitle(event_title) {
return event_title.trim()
.replace(/\(.*\)$/, '') // Remove parentheticals at end for 1:1 lab
.replace(/\W/g, ''); // Remove non-ascii chars
.replace(/\(.*\)$/, ''); // Remove parentheticals at end for 1:1 lab
}

function weekTimedEventKey($event) {
Expand Down

0 comments on commit bed9a53

Please sign in to comment.