Jelajahi Sumber

Fixed compile error in nextjs/clean_html.rb

Mike Murphy 1 tahun lalu
induk
melakukan
903fac58c2
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      lib/docs/filters/nextjs/clean_html.rb

+ 1 - 2
lib/docs/filters/nextjs/clean_html.rb

@@ -6,9 +6,8 @@ module Docs
                 doc.prepend_child("<h1>htmx</h1>") if root_page?
                 css('div:contains("NEWS:")').remove
                 css('h2:contains("sponsors"), #sponsor-table').remove
-            end
                 doc
-        
+            end
         end
     end
 end