             resolve res.map ({uri, position, message, severity}) ->
               [message, messages...] = message.split /^(?!\s)/gm
               type: severity
-              html: multiline message
+              text: message
+              multliline: true
               filePath: uri
               range: [position, position.translate [0, 1]]
               trace: messages.map (text) ->
                 type: 'trace'
-                html: multiline text
+                text: text
+                multiline: true
     ]

  provideLinter: ->
    return unless atom.config.get 'haskell-ghc-mod.useLinter'
    backend = new IdeBackend @process
    multiline = (message) ->
      elem = document.createElement 'linter-multiline-message'
      elem.tabIndex = 0
      console.log message.split(/\n/).map((l) -> "<line>#{l}</line>").join("")
      elem.innerHTML = message.split(/\n/).filter((l) -> l)
        .map((l) -> "<line>#{l}</line>")
        .join("")
      elem
    [
      grammarScopes: ['source.haskell', 'text.tex.latex.haskell']
      scope: 'file' # or 'project'

              [message, messages...] = message.split /^(?!\s)/gm
              {
                type: severity
                text: message
                multiline: true
                filePath: uri
                range: [position, position.translate [0, 1]]
                trace: messages.map (text) ->
                  type: 'trace'
                  text: text
                  multiline: true
              }
    ,
      grammarScopes: ['source.haskell']
