[devdocsgjs/main: 69/76] chore: oliver's review




commit ae8a928cbe9f9e7c007e538a4c5f5d6663fa2e5b
Author: Naomi Carrigan <nhcarrigan gmail com>
Date:   Wed Jul 6 09:48:27 2022 -0700

    chore: oliver's review
    
    Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams gmail com>

 lib/docs/filters/padrino/clean_html.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/docs/filters/padrino/clean_html.rb b/lib/docs/filters/padrino/clean_html.rb
index 536d5ca5..21dcb421 100644
--- a/lib/docs/filters/padrino/clean_html.rb
+++ b/lib/docs/filters/padrino/clean_html.rb
@@ -3,7 +3,7 @@ module Docs
     class CleanHtmlFilter < Filter
       def call
         css('.summary_toggle', '.inheritanceTree', 'h1 .note', '.source_code', '.box_info 
dl:last-child').remove
-        css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 
'a[href*="discord"]').remove if root_page?
+        css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 
'a[href*="gitter"]').remove if root_page?
 
         css('.signature').each do |node|
           node.name = 'h3'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]