Explorar o código

PHPUnit: Use better enclosing element

Phil Scherer %!s(int64=4) %!d(string=hai) anos
pai
achega
c5e4be72f7
Modificáronse 1 ficheiros con 1 adicións e 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'