diff --git a/lib/componentFactory.js b/lib/componentFactory.js index 0389836..646414c 100644 --- a/lib/componentFactory.js +++ b/lib/componentFactory.js @@ -131,22 +131,22 @@ module.exports = function(element) { if (element.attr('size-sm') || element.attr('size-lg')) { if (element.attr('size-sm')) { size = (element.attr('size-sm')); - html += '
 
'; + html += '
 
'; } if (element.attr('size-lg')) { size = (element.attr('size-lg')); - html += '
 
'; + html += '
 
'; } } else { size = (element.attr('size')) || 16; - html += '
 
'; + html += '
 
'; } if( element.attr('size-sm') && element.attr('size-lg') ) { - return format(html, classes.join(' '), classes.join(' '), inner); + return format(html, attrs, classes.join(' '), classes.join(' '), inner); } - return format(html, classes.join(' '), inner); + return format(html, attrs, classes.join(' '), inner); // case this.components.wrapper: