History

chore: oliver's review

Naomi Carrigan committed 4 years ago

Commit ae8a9281 parent cd1b0ad1 file · +1 −1Browse files

Unified · Split

lib/docs/filters/padrino/clean_html.rb+1−1
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
33 class CleanHtmlFilter < Filter
44 def call
55 css('.summary_toggle', '.inheritanceTree', 'h1 .note', '.source_code', '.box_info dl:last-child').remove
6− css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 'a[href*="discord"]').remove if root_page?
6+ css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 'a[href*="gitter"]').remove if root_page?
77
88 css('.signature').each do |node|
99 node.name = 'h3'