History

Fixed compile error in nextjs/clean_html.rb

Mike Murphy committed 2 years ago

Commit 903fac51 parent 10a63341 file · +1 −2Browse files

Unified · Split

lib/docs/filters/nextjs/clean_html.rb+1−2
@@ -6,9 +6,8 @@ module Docs · 5 unmodified lines
6 doc.prepend_child("<h1>htmx</h1>") if root_page?6 doc.prepend_child("<h1>htmx</h1>") if root_page?
7 css('div:contains("NEWS:")').remove7 css('div:contains("NEWS:")').remove
8 css('h2:contains("sponsors"), #sponsor-table').remove8 css('h2:contains("sponsors"), #sponsor-table').remove
9 end
10 doc9 doc
11 10 end
12 end11 end
13 end12 end
14end13end