       for attribute in filteredAttributes
         if score(attribute.name, prefix) < 0.07 then continue
         suggestions.push
-          text: attribute.name
+          snippet: attribute.name
           type: "attribute"
           rightLabel: "<#{tagName}>"
           description: "language-babel JSXsupported attributes/events"

        suggestions.push
            snippet: "$1</#{tagName}>$2"
            type: "tag"
            description: "language-babel JSX supported elements"
            descriptionMoreURL: REACTURL

    else if  jsxTag is JSXENDTAGSTART
      startOfJSX = @getStartOfJSX editor, bufferPosition

      for htmlElement in htmlElements
        if score(htmlElement.name, prefix) < 0.07 then continue
        suggestions.push
          snippet: htmlElement.name
          type: "tag"
          description: "language-babel JSX supported elements"
          descriptionMoreURL: REACTURL
