     
     override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
         let object = searchResult[indexPath.row]
-        acceptAutoCompletion(with: object, keepPrefix: true)
+        acceptAutoCompletion(with: "\(object) ", keepPrefix: true)
     }
     
     func autoCompletionCellForRowAtIndexPath(_ indexPath: IndexPath) -> AutocompleteCell {

    }
    
    override func didChangeAutoCompletionPrefix(_ prefix: String, andWord word: String) {
        guard let users = try? Realm().objects(User.self) else { return }
        
        if prefix == "@" && word.characters.count > 0 {
            self.searchResult = users.filter(NSPredicate(format: "username BEGINSWITH[c] %@", word)).map({ $0.username ?? "" })
        }
        
        let show = (self.searchResult.count > 0)

        textView.registerMarkdownFormattingSymbol("```", withTitle: "Preformatted")
        textView.registerMarkdownFormattingSymbol(">", withTitle: "Quote")
        
        registerPrefixes(forAutoCompletion: ["@", "#"])
    }
    
    fileprivate func setupTitleView() {
