             title = linkParams[1] || linkParams[0]
 
             return '[' + title + '](' + link  + ')'
-
-
-    linkTitleWithSpaces: (text) ->
-        link = /\[[^\]]*\]\(([^\)]*)\)/g # [Title-with-spaces](Title with spaces)
-
-        return text.replace link, (match, p1, offset, str) ->
-            if p1.indexOf(' ') >= 0
-                return match.replace /\(.*\)/, '(' + taiga.slugify(p1) + ')'
-            else
-                return match
 
     replaceUrls: (html) ->
         el = document.createElement( 'html' )

        }

        text = @.replaceEmojiNameByImgs(text)
        text = @.pipeLinks(text)        
        text = @.linkTitleWithSpaces(text)

        md = window.markdownit({
            breaks: true


    autoLinkHTML: (html) ->
        # override Autolink parser

        matchRegexStr = String(Autolinker.matcher.Mention.prototype.matcherRegexes.twitter)
        if matchRegexStr.indexOf('.') == -1
            matchRegexStr = '@[^\s]{1,50}[^.\s]'
