diff --git a/dist/react-domify.js b/dist/react-domify.js index 2a4535d..0a4e2b9 100644 --- a/dist/react-domify.js +++ b/dist/react-domify.js @@ -53,7 +53,7 @@ function transform(obj, fromRecur, comma) { // strings if (typeof obj === 'string') { - return React.createElement(tag, { style: styles.string }, obj, comma); + return React.createElement(tag, { style: styles.string }, '"' + obj + '"', comma); } // booleans, null and undefined else if (typeof obj === 'boolean' || obj === null || obj === undefined) { diff --git a/dist/react-domify.min.js b/dist/react-domify.min.js index 36d81b9..76fc112 100644 --- a/dist/react-domify.min.js +++ b/dist/react-domify.min.js @@ -1 +1 @@ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.DOMify=e()}}(function(){return function e(t,r,n){function o(a,i){if(!r[a]){if(!t[a]){var f="function"==typeof require&&require;if(!i&&f)return f(a,!0);if(l)return l(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[a]={exports:{}};t[a][0].call(c.exports,function(e){var r=t[a][1][e];return o(r?r:e)},c,c.exports,e,t,r,n)}return r[a].exports}for(var l="function"==typeof require&&require,a=0;a