 
     # title
     setTitle: (content, type) ->
+        content = _.escape content
         @title.text content
         if type
           @title.attr 'class', 'text-' + type


    # placeholder of the inputbox of query mode
    setPlaceholder: (content) ->
        @inputBox.editor.placeholderText = content
        return @


        return @

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