History

PHPUnit: Use better enclosing element

Phil Scherer committed 5 years ago

Commit c5e4be71 parent 2e6d7951 file · +1 −0Browse files

Unified · Split

lib/docs/filters/phpunit/clean_html.rb+1−0
@@ -2,6 +2,7 @@ module Docs · 1 unmodified line
22 class Phpunit
33 class CleanHtmlFilter < Filter
44 def call
5+ @doc = at_css('.section') if not root_page?
56
67 css('pre').each do |node|
78 node['class'] = 'highlight'