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
8 name = super8 name = super
9 name.sub!('Element.', '').try(:downcase!)9 name.sub!('Element.', '').try(:downcase!)
10 name.sub!('Global attributes.', '').try(:concat, ' (attribute)')10 name.sub!('Global attributes.', '').try(:concat, ' (attribute)')
11 name.sub!(/input.(\w+)/, 'input type="\1"')11 name.sub!(/input\.([-\w]+)/, 'input type="\1"')
12 name12 name
13 end13 end
14 14
lib/docs/scrapers/mdn/html.rb+1−1
@@ -29,7 +29,7 @@ module Docs · 28 unmodified lines
29 url29 url
30 end30 end
31 31
32 # self.release = '2021-04-29'32 # self.release = '2021-04-29 23:00'
33 33
34 end34 end
35end35end