From c5e4be72f751cc8f1a0ffc29db62cec587c2d8a6 Mon Sep 17 00:00:00 2001 From: Phil Scherer Date: Fri, 8 Jan 2021 22:34:06 +0000 Subject: [PATCH] PHPUnit: Use better enclosing element --- lib/docs/filters/phpunit/clean_html.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/docs/filters/phpunit/clean_html.rb b/lib/docs/filters/phpunit/clean_html.rb index e58f85b0..5e36704c 100644 --- a/lib/docs/filters/phpunit/clean_html.rb +++ b/lib/docs/filters/phpunit/clean_html.rb @@ -2,6 +2,7 @@ module Docs class Phpunit class CleanHtmlFilter < Filter def call + @doc = at_css('.section') if not root_page? css('pre').each do |node| node['class'] = 'highlight'