History

PHPUnit: Use better enclosing element

Phil Scherer committed 5 years ago

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

Showing the changes to lib (1 of 1 file). Show all

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'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t