[devdocsgjs/main: 1625/1867] Update HTML documentation




commit 04828da81da6970c4a190ec4d09a7837404c222e
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu Apr 29 23:39:30 2021 +0200

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]