diff --git a/lib/docs/filters/lodash/clean_html.rb b/lib/docs/filters/lodash/clean_html.rb index e1fe850a..07822d6f 100644 --- a/lib/docs/filters/lodash/clean_html.rb +++ b/lib/docs/filters/lodash/clean_html.rb @@ -6,10 +6,7 @@ module Docs css('h3 + p', 'hr').remove - # Set id attributes on

instead of an empty - css('h3').each do |node| - node['id'] = node.at_css('a')['id'] - end + css('h2 a:contains("#")', 'h3 a:contains("#")').remove # Remove inside headings css('h2', 'h3').each do |node| diff --git a/lib/docs/scrapers/lodash.rb b/lib/docs/scrapers/lodash.rb index 040252e7..c690deb6 100644 --- a/lib/docs/scrapers/lodash.rb +++ b/lib/docs/scrapers/lodash.rb @@ -19,7 +19,7 @@ module Docs HTML version '4' do - self.release = '4.14.1' + self.release = '4.15.0' self.base_url = 'https://lodash.com/docs' end