Skip to content

Commit 816a484

Browse files
committed
graphviz: clean html
1 parent 28748b9 commit 816a484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/docs/filters/graphviz/clean_html.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ def call
77
content = at_css('.td-content')
88
@doc = content if content
99

10+
css('a:contains("Search the Graphviz codebase")').remove
11+
css('.td-page-meta__lastmod').remove
12+
1013
css('pre:has(code)').each do |node|
1114
pre = Nokogiri::XML::Node.new('pre', @doc)
1215
code = node.at_css('code')

0 commit comments

Comments
 (0)