History

Improve HTML scraper

Thibaut committed 11 years ago

Commit 0812ee01 parent 7592e601 file · +2 −1Browse files

Unified · Split

lib/docs/filters/html/entries.rb+2−1
@@ -27,7 +27,8 @@ module Docs · 26 unmodified lines
27 end27 end
28 28
29 def include_default_entry?29 def include_default_entry?
30 !%w(Attributes Link_types Element/Heading_Elements).include?(slug)30 return false if %w(Attributes Link_types Element/Heading_Elements).include?(slug)
31 (node = doc.at_css '.overheadIndicator').nil? || node.content.exclude?('not on a standards track')
31 end32 end
32 33
33 def additional_entries34 def additional_entries