From 8a2e4761c81e59e78750bfec5ba27bd2b1727bdc Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 17 Jul 2024 06:07:06 +0200 Subject: [PATCH] qunit: remove wrapping
--- lib/docs/filters/qunit/clean_html.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'