mjml-core
Advanced tools
Comparing version 2.3.0 to 2.3.1-beta.1
@@ -327,3 +327,3 @@ 'use strict'; | ||
value: function render() { | ||
if (this.props.columnElement) { | ||
if (this.props.columnElement && this.constructor.tagName != 'mj-raw') { | ||
this.styles = this.getStyles(); | ||
@@ -330,0 +330,0 @@ |
@@ -49,3 +49,3 @@ 'use strict'; | ||
var version = exports.version = function version() { | ||
return '2.3.0'; | ||
return '2.3.1-beta.1'; | ||
}; | ||
@@ -52,0 +52,0 @@ var mjml2html = exports.mjml2html = function mjml2html(mjml) { |
@@ -81,6 +81,7 @@ 'use strict'; | ||
this.content = (0, _includeExternal2.default)(content); | ||
this.content = content; | ||
this.options = options; | ||
if (typeof this.content === 'string') { | ||
this.content = (0, _includeExternal2.default)(this.content); | ||
this.parseDocument(); | ||
@@ -87,0 +88,0 @@ } |
{ | ||
"name": "mjml-core", | ||
"description": "mjml-core", | ||
"version": "2.3.0", | ||
"version": "2.3.1-beta.1", | ||
"main": "lib/index.js", | ||
@@ -28,9 +28,9 @@ "scripts": { | ||
"he": "^1.1.0", | ||
"html-minifier": "^2.1.5", | ||
"html-minifier": "^3.0.1", | ||
"immutable": "^3.8.1", | ||
"jquery": "^3.0.0", | ||
"jquery": "^3.1.0", | ||
"js-beautify": "^1.6.3", | ||
"lodash": "^4.13.1", | ||
"react": "^15.1.0", | ||
"react-dom": "^15.1.0", | ||
"react": "^15.2.1", | ||
"react-dom": "^15.2.1", | ||
"warning": "^3.0.0" | ||
@@ -37,0 +37,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41080
884
1
+ Addedclean-css@4.2.4(transitive)
+ Addedcommander@2.17.12.19.0(transitive)
+ Addedhtml-minifier@3.5.21(transitive)
+ Addeduglify-js@3.4.10(transitive)
- Removedalign-text@0.1.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedasync@0.2.10(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedcenter-align@0.1.3(transitive)
- Removedchange-case@3.0.2(transitive)
- Removedclean-css@3.4.28(transitive)
- Removedcliui@2.1.0(transitive)
- Removedcommander@2.8.12.9.0(transitive)
- Removedconstant-case@2.0.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddot-case@2.1.1(transitive)
- Removedgraceful-readlink@1.0.1(transitive)
- Removedhe@1.1.1(transitive)
- Removedheader-case@1.0.1(transitive)
- Removedhtml-minifier@2.1.7(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-lower-case@1.1.3(transitive)
- Removedis-upper-case@1.1.2(transitive)
- Removedkind-of@3.2.2(transitive)
- Removedlazy-cache@1.0.4(transitive)
- Removedlongest@1.0.1(transitive)
- Removedlower-case-first@1.0.2(transitive)
- Removedncname@1.0.0(transitive)
- Removedpascal-case@2.0.1(transitive)
- Removedpath-case@2.1.1(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedright-align@0.1.3(transitive)
- Removedsentence-case@2.1.1(transitive)
- Removedsnake-case@2.1.0(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedswap-case@1.1.2(transitive)
- Removedtitle-case@2.1.1(transitive)
- Removeduglify-js@2.6.4(transitive)
- Removeduglify-to-browserify@1.0.2(transitive)
- Removedupper-case-first@1.1.2(transitive)
- Removedwindow-size@0.1.0(transitive)
- Removedwordwrap@0.0.2(transitive)
- Removedxml-char-classes@1.0.0(transitive)
- Removedyargs@3.10.0(transitive)
Updatedhtml-minifier@^3.0.1
Updatedjquery@^3.1.0
Updatedreact@^15.2.1
Updatedreact-dom@^15.2.1