Improve HTML scraper

pull/185/head
Thibaut 10 years ago
parent 7592e60cd6
commit 0812ee0be0

@ -27,7 +27,8 @@ module Docs
end end
def include_default_entry? def include_default_entry?
!%w(Attributes Link_types Element/Heading_Elements).include?(slug) return false if %w(Attributes Link_types Element/Heading_Elements).include?(slug)
(node = doc.at_css '.overheadIndicator').nil? || node.content.exclude?('not on a standards track')
end end
def additional_entries def additional_entries

Loading…
Cancel
Save