diff --git a/lib/docs/filters/express/clean_html.rb b/lib/docs/filters/express/clean_html.rb
index 4ad96619..2f21922c 100644
--- a/lib/docs/filters/express/clean_html.rb
+++ b/lib/docs/filters/express/clean_html.rb
@@ -2,6 +2,8 @@ module Docs
class Express
class CleanHtmlFilter < Filter
def call
+ at_css('h1').remove
+
css('section').each do |node|
node.before(node.children).remove
end
@@ -12,6 +14,10 @@ module Docs
node.remove
end
+ css('table[border]').each do |node|
+ node.remove_attribute 'border'
+ end
+
# Remove code highlighting
css('pre').each do |node|
node.content = node.content
diff --git a/lib/docs/scrapers/express.rb b/lib/docs/scrapers/express.rb
index 4df98afa..bfb7621c 100644
--- a/lib/docs/scrapers/express.rb
+++ b/lib/docs/scrapers/express.rb
@@ -2,13 +2,13 @@ module Docs
class Express < UrlScraper
self.name = 'Express'
self.type = 'express'
- self.version = '4.9.7'
+ self.version = '4.10.0'
self.base_url = 'http://expressjs.com/4x/api.html'
html_filters.push 'express/clean_html', 'express/entries', 'title'
options[:title] = 'Express'
- options[:container] = '#right'
+ options[:container] = '#api-doc'
options[:skip_links] = true
options[:attribution] = <<-HTML