Browse Source

Fixed compile error in nextjs/clean_html.rb

Mike Murphy 1 năm trước cách đây
mục cha
commit
903fac58c2
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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