[devdocsgjs/main: 1465/1867] PHPUnit: Use better enclosing element




commit c5e4be72f751cc8f1a0ffc29db62cec587c2d8a6
Author: Phil Scherer <pnscher evoforge org>
Date:   Fri Jan 8 22:34:06 2021 +0000

    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'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]