Browse Source

Keep "Related" section

Szabolcs Légrádi 7 years ago
parent
commit
a8ff630f9a
1 changed files with 1 additions and 2 deletions
  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
         end
 
 
         css('hr', '.screen-reader-text', '.table-of-contents',
         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
         # Add PHP code highlighting
         br = /<br\s?\/?>/i
         br = /<br\s?\/?>/i