Quellcode durchsuchen

Update HTML documentation

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

Fixes #1252.
Simon Legner vor 4 Jahren
Ursprung
Commit
04828da81d
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      lib/docs/filters/html/entries.rb
  2. 1 1
      lib/docs/scrapers/mdn/html.rb

+ 1 - 1
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
 

+ 1 - 1
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