From 04828da81da6970c4a190ec4d09a7837404c222e Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 29 Apr 2021 23:39:30 +0200 Subject: [PATCH] Update HTML documentation Fixes https://devdocs.io/html/global_attributes/inputmode entry. Fixes #1252. --- lib/docs/filters/html/entries.rb | 2 +- lib/docs/scrapers/mdn/html.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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