Skip to content

Commit

Permalink
Merge branch 'remove_useless_code' of git://github.com/marcandre/inky…
Browse files Browse the repository at this point in the history
… into marcandre-remove_useless_code
  • Loading branch information
kball committed Apr 19, 2017
2 parents 94643af + bd3dfc8 commit 39d2510
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/componentFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ module.exports = function(element) {
if (element.attr('class')) {
classes = classes.concat(element.attr('class').split(' '));
}
var centerAttr = element.attr('align') ? 'align="center"' : '';
return format('<table %s class="%s"%s><tbody><tr><td><table><tbody><tr>%s</tr></tbody></table></td></tr></tbody></table>', attrs, classes.join(' '), centerAttr, inner);
return format('<table %s class="%s"><tbody><tr><td><table><tbody><tr>%s</tr></tbody></table></td></tr></tbody></table>', attrs, classes.join(' '), inner);

// <item>
case this.components.menuItem:
Expand Down

0 comments on commit 39d2510

Please sign in to comment.