talk-message-forms
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -29,7 +29,11 @@ (function() { | ||
renderContent: function() { | ||
var ref; | ||
var html, ref; | ||
html = { | ||
__html: this.props.attachment.data.text | ||
}; | ||
if ((ref = this.props.attachment.data.text) != null ? ref.length : void 0) { | ||
return div({ | ||
className: 'content' | ||
}, this.props.attachment.data.text); | ||
className: 'content', | ||
dangerouslySetInnerHTML: html | ||
}); | ||
} | ||
@@ -36,0 +40,0 @@ }, |
{ | ||
"name": "talk-message-forms", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "The Message Structure and Layout of jianliao.com", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34734
583
1