[devdocsgjs/main: 239/1867] Keep "Related" section




commit a8ff630f9a6fac408baa48d7a66d789234d85ba7
Author: Szabolcs Légrádi <szabolcs legradi gmail com>
Date:   Mon Mar 26 10:14:45 2018 +0200

    Keep "Related" section

 lib/docs/filters/wordpress/clean_html.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/docs/filters/wordpress/clean_html.rb b/lib/docs/filters/wordpress/clean_html.rb
index dcc4f397..388b3cba 100644
--- a/lib/docs/filters/wordpress/clean_html.rb
+++ b/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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]