mjml-social
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -128,3 +128,3 @@ 'use strict'; | ||
var socialNetwork = defaultSocialNetworks[this.getAttribute('name')]; | ||
var socialNetwork = defaultSocialNetworks[this.getAttribute('name')] || {}; | ||
var href = this.getAttribute('href'); | ||
@@ -171,7 +171,7 @@ | ||
width: parseInt(iconSize, 10) | ||
}) + '\n />\n </a>\n </td>\n </tr>\n </table>\n ' + (this.getContent() ? '\n <td ' + this.htmlAttributes({ style: 'tdText' }) + ' >\n <a\n ' + this.htmlAttributes({ | ||
}) + '\n />\n </a>\n </td>\n </tr>\n </table>\n </td>\n ' + (this.getContent() ? '\n <td ' + this.htmlAttributes({ style: 'tdText' }) + ' >\n <a\n ' + this.htmlAttributes({ | ||
href: href, | ||
style: 'text', | ||
rel: this.getAttribute('rel') | ||
}) + '>\n ' + this.getContent() + '\n </a>\n </td>\n ' : '') + '\n </td>\n </tr>\n '; | ||
}) + '>\n ' + this.getContent() + '\n </a>\n </td>\n ' : '') + '\n </tr>\n '; | ||
} | ||
@@ -178,0 +178,0 @@ }]); |
{ | ||
"name": "mjml-social", | ||
"description": "mjml-social", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"main": "lib/index.js", | ||
@@ -22,4 +22,4 @@ "repository": { | ||
"lodash": "^4.17.2", | ||
"mjml-core": "^4.0.4" | ||
"mjml-core": "^4.0.5" | ||
} | ||
} |
21976
Updatedmjml-core@^4.0.5