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

        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

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

