Browse Source

Keep "Related" section

Szabolcs Légrádi 7 năm trước cách đây
mục cha
commit
a8ff630f9a
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      lib/docs/filters/wordpress/clean_html.rb

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

@@ -8,8 +8,7 @@ module Docs
         end
 
         css('hr', '.screen-reader-text', '.table-of-contents',
-            '.anchor', '.toc-jump', '.source-code-links', '.related',
-            '.user-notes').remove
+            '.anchor', '.toc-jump', '.source-code-links', '.user-notes').remove
 
         # Add PHP code highlighting
         br = /<br\s?\/?>/i