Unified · Split
| @@ -1,10 +1,9 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Html |
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | − HTML5 = %w(menuitem) | |
| 4 | + HTML5 = %w(content element menuitem template) | |
| 5 | 5 | OBSOLETE = %w(frame frameset hgroup noframes) |
| 6 | − ADDITIONAL_ENTRIES = { | |
| 7 | − 'Heading_Elements' => [%w(h1), %w(h2), %w(h3), %w(h4), %w(h5), %w(h6)] } | |
| 6 | + ADDITIONAL_ENTRIES = { 'Heading_Elements' => (1..6).map { |n| ["h#{n}"] } } | |
| 8 | 7 | |
| 9 | 8 | def get_name |
| 10 | 9 | super.downcase |