react-element-to-jsx-string
Advanced tools
Comparing version
@@ -0,1 +1,6 @@ | ||
<a name="8.0.0"></a> | ||
# [8.0.0](https://github.com/algolia/react-element-to-jsx-string/compare/v7.0.0...v8.0.0) (2017-05-24) | ||
<a name="7.0.0"></a> | ||
@@ -2,0 +7,0 @@ # [7.0.0](https://github.com/algolia/react-element-to-jsx-string/compare/v6.4.0...v7.0.0) (2017-05-14) |
@@ -7,2 +7,6 @@ 'use strict'; | ||
var _escape2 = require('lodash/escape'); | ||
var _escape3 = _interopRequireDefault(_escape2); | ||
var _fill2 = require('lodash/fill'); | ||
@@ -211,3 +215,3 @@ | ||
if (typeof propValue === 'string') { | ||
return '"' + propValue + '"'; | ||
return '"' + (0, _escape3.default)(propValue) + '"'; | ||
} | ||
@@ -214,0 +218,0 @@ |
{ | ||
"name": "react-element-to-jsx-string", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Turn a ReactElement into the corresponding JSX string.", | ||
@@ -5,0 +5,0 @@ "main": "index-dist.js", |
198414
0.12%265
0.76%