Explorar el Código

PHPUnit: Use better enclosing element

Phil Scherer hace 4 años
padre
commit
c5e4be72f7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/docs/filters/phpunit/clean_html.rb

+ 1 - 0
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'