diff --git a/lib/docs/filters/moment/clean_html.rb b/lib/docs/filters/moment/clean_html.rb index bbb75c02..be7d58d0 100644 --- a/lib/docs/filters/moment/clean_html.rb +++ b/lib/docs/filters/moment/clean_html.rb @@ -12,13 +12,7 @@ module Docs node.before(node.children).remove end - # Remove introduction - doc.child.remove while doc.child['id'] != 'parsing' - - # Remove plugin list - doc.children.last.remove while doc.children.last['id'] != 'plugins' - - css('.docs-method-edit', '#plugins', 'hr').remove + css('.docs-method-edit', 'hr').remove css('pre').each do |node| if node.content =~ /\A