         return @
 
     appendContent: (content) ->
+        content = content.map (s) => _.escape s
         @body.show()
         for item in content
             @contentList.append "<li class: 'list-item'>#{item}</li>"

        return @

    setContent: (content) ->
        @clearContent()

        if content.length > 0

{log, warn, error} = require '../logger'

Q = require 'Q'
_ = require 'lodash'

UNINIT = 0
HIDE = 1
