```coffeescript
Vue = require "vue/dist/vue"

escape = require "../filters/escape"
linkify = require "../filters/linkify"
newLine = require "../filters/newLine"

module.exports = Vue.extend
  methods:
    filter: (text) ->
      text = escape text
      text = newLine text
      text = linkify text
      text

  mounted: ->
    $comment = $(@$el)
    $comment.html(@filter($comment.text()))
```

Fix a bug which linked URL is invalid
user
```coffeescript
Vue = require "vue/dist/vue"

escape = require "../filters/escape"
linkify = require "../filters/linkify"
newLine = require "../filters/newLine"

module.exports = Vue.extend
  methods:
    filter: (text) ->
      text = escape text
      text = linkify text
      text = newLine text
      text

  mounted: ->
    $comment = $(@$el)
    $comment.html(@filter($comment.text()))
```
assistant