Skip to content

Commit

Permalink
Fixed self-closing col support. Manually merged Guillermos patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 2, 2011
1 parent 9cbebf5 commit 44e8b85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/self-closing.js
Expand Up @@ -6,12 +6,13 @@
*/

module.exports = [
'meta',
'img',
'link',
'br',
'hr',
'input',
'area',
'base'
'meta'
, 'img'
, 'link'
, 'input'
, 'area'
, 'base'
, 'col'
, 'br'
, 'hr'
];
1 change: 1 addition & 0 deletions test/jade.test.js
Expand Up @@ -110,6 +110,7 @@ module.exports = {
assert.equal('<div class="a_b2"></div>', render('div.a_b2'));
assert.equal('<fb:user></fb:user>', render('fb:user'));
assert.equal('<fb:user:role></fb:user:role>', render('fb:user:role'));
assert.equal('<colgroup><col class="test"/></colgroup>', render('colgroup\n col.test'));
},

'test nested tags': function(assert){
Expand Down

0 comments on commit 44e8b85

Please sign in to comment.