Explorar el Código

graphviz: clean html

Simon Legner hace 2 meses
padre
commit
816a484ec9
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      lib/docs/filters/graphviz/clean_html.rb

+ 3 - 0
lib/docs/filters/graphviz/clean_html.rb

@@ -7,6 +7,9 @@ module Docs
         content = at_css('.td-content')
         @doc = content if content
 
+        css('a:contains("Search the Graphviz codebase")').remove
+        css('.td-page-meta__lastmod').remove
+
         css('pre:has(code)').each do |node|
           pre = Nokogiri::XML::Node.new('pre', @doc)
           code = node.at_css('code')