Skip to content

Commit

Permalink
Merge pull request #31 from Talesoft/dev-master
Browse files Browse the repository at this point in the history
Completed list of self-closing HTML tags
  • Loading branch information
TorbenKoehn committed Nov 20, 2015
2 parents bd2c1ef + 5e00c58 commit f32a311
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ public function __construct(array $options = null, Parser $parser = null, Lexer
'indentWidth' => 2,
'mode' => self::MODE_HTML,
'selfClosingTags' => [
'input', 'br', 'img', 'link'
'input', 'br', 'img', 'link',
'area', 'base', 'col', 'command',
'embed', 'hr', 'keygen', 'meta',
'param', 'source', 'track', 'wbr'
],
'selfRepeatingAttributes' => [
'selected', 'checked', 'disabled'
Expand All @@ -279,7 +282,7 @@ public function __construct(array $options = null, Parser $parser = null, Lexer
'code' => 'Tale\\Jade\\Filter::filterCode',
'markdown' => 'Tale\\Jade\\Filter::filterMarkdown',
'md' => 'Tale\\Jade\\Filter::filterMarkdown',
'coffee-script' => 'Tale\\Jade\\Filter::filterCoffeeScript',
'coffeescript' => 'Tale\\Jade\\Filter::filterCoffeeScript',
'coffee' => 'Tale\\Jade\\Filter::filterCoffeeScript',
'less' => 'Tale\\Jade\\Filter::filterLess',
'stylus' => 'Tale\\Jade\\Filter::filterStylus',
Expand Down

0 comments on commit f32a311

Please sign in to comment.