diff --git a/lib/docs/filters/html/entries.rb b/lib/docs/filters/html/entries.rb index 00324191..001bf797 100644 --- a/lib/docs/filters/html/entries.rb +++ b/lib/docs/filters/html/entries.rb @@ -8,7 +8,7 @@ module Docs name = super name.sub!('Element.', '').try(:downcase!) name.sub!('Global attributes.', '').try(:concat, ' (attribute)') - name.sub!(/input.(\w+)/, 'input type="\1"') + name.sub!(/input\.([-\w]+)/, 'input type="\1"') name end diff --git a/lib/docs/scrapers/mdn/html.rb b/lib/docs/scrapers/mdn/html.rb index 634570bb..d062bc88 100644 --- a/lib/docs/scrapers/mdn/html.rb +++ b/lib/docs/scrapers/mdn/html.rb @@ -29,7 +29,7 @@ module Docs url end - # self.release = '2021-04-29' + # self.release = '2021-04-29 23:00' end end