diff --git a/lib/docs/filters/qunit/clean_html.rb b/lib/docs/filters/qunit/clean_html.rb index eb104b5c..ff4d9ec9 100644 --- a/lib/docs/filters/qunit/clean_html.rb +++ b/lib/docs/filters/qunit/clean_html.rb @@ -4,7 +4,7 @@ module Docs class Qunit class CleanHtmlFilter < Filter def call - @doc = at_css('.content[role="main"]') + @doc = at_css('.content[role="main"] > article') css('.sidebar').remove css('pre').each do |node| node['data-language'] = 'javascript'