     */
     internal func cooldownTimerFired(timer: NSTimer) {
         if ((self.filterString?.characters.count) != nil) {
-            self.mentionsManager.showMentionsListWithString(self.filterString!)
+            let filter = self.filterString?.stringByReplacingOccurrencesOfString("\n", withString: "")
+            self.mentionsManager.showMentionsListWithString(filter!)
         }
     }
 

        let substring = (textView.text as NSString).substringToIndex(range.location) as NSString

        var mentionEnabled = false

        let location = substring.rangeOfString(
            trigger as String,
            options: NSStringCompareOptions.BackwardsSearch).location


                    if self.filterString?.characters.count > 0 &&
                        (self.cooldownTimer == nil || self.cooldownTimer?.valid == false) {
                            let filter = self.filterString?.stringByReplacingOccurrencesOfString("\n", withString: "")
                            self.mentionsManager.showMentionsListWithString(filter!)
                    }
                    self.activateCooldownTimer()
                    return
