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
2727 end
2828
2929 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')
3132 end
3233
3334 def additional_entries