diff --git a/lib/componentFactory.js b/lib/componentFactory.js index db4e27c..0361e4d 100644 --- a/lib/componentFactory.js +++ b/lib/componentFactory.js @@ -127,7 +127,7 @@ module.exports = function(element) { classes = classes.concat(element.attr('class').split(' ')); } - return format('
%s
', classes.join(' '), inner); + return format('
%s
', classes.join(' '), inner); default: // If it's not a custom component, return it as-is diff --git a/test/components.js b/test/components.js index 346ca50..1e3af90 100644 --- a/test/components.js +++ b/test/components.js @@ -266,7 +266,7 @@ describe('wrapper', () => { it('creates a wrapper that you can attach classes to', () => { var input = ``; var expected = ` - +