diff --git a/lib/docs/filters/mdn/clean_html.rb b/lib/docs/filters/mdn/clean_html.rb index 74430b92..71cd02d5 100644 --- a/lib/docs/filters/mdn/clean_html.rb +++ b/lib/docs/filters/mdn/clean_html.rb @@ -42,7 +42,7 @@ module Docs node.before(node.content).remove end css('h2 > a, h3 > a').each do |node| - node.parent.content = node.content + node.before(node.content).remove end css('.notecard > h4').each do |node| diff --git a/lib/docs/scrapers/mdn/dom.rb b/lib/docs/scrapers/mdn/dom.rb index 456f2abc..943aeb5b 100644 --- a/lib/docs/scrapers/mdn/dom.rb +++ b/lib/docs/scrapers/mdn/dom.rb @@ -8,7 +8,7 @@ module Docs options[:root_title] = 'DOM' - # self.release = '2021-04-29' + # self.release = '2021-04-29 21:55' end end