History

Update HTML documentation

Fixes https://devdocs.io/html/global_attributes/inputmode entry. Fixes #1252.

Simon Legner committed 5 years ago

Commit 04828da1 parent c0ddcf32 files · +2 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/html/entries.rb +1 −1
  2. lib/docs/scrapers/mdn/html.rb +1 −1
lib/docs/filters/html/entries.rb+1−1
@@ -8,7 +8,7 @@ module Docs · 7 unmodified lines
88 name = super
99 name.sub!('Element.', '').try(:downcase!)
1010 name.sub!('Global attributes.', '').try(:concat, ' (attribute)')
11− name.sub!(/input.(\w+)/, 'input type="\1"')
11+ name.sub!(/input\.([-\w]+)/, 'input type="\1"')
1212 name
1313 end
1414
lib/docs/scrapers/mdn/html.rb+1−1
@@ -29,7 +29,7 @@ module Docs · 28 unmodified lines
2929 url
3030 end
3131
32− # self.release = '2021-04-29'
32+ # self.release = '2021-04-29 23:00'
3333
3434 end
3535 end