[devdocsgjs/main: 241/1867] Remove "Show / Hide more" links




commit fde45213f402dfe87d4edce8d22a6d8eeed21b05
Author: Szabolcs Légrádi <szabolcs legradi gmail com>
Date:   Mon Mar 26 10:59:20 2018 +0200

    Remove "Show / Hide more" links

 lib/docs/filters/wordpress/clean_html.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/filters/wordpress/clean_html.rb b/lib/docs/filters/wordpress/clean_html.rb
index 388b3cba..91708045 100644
--- a/lib/docs/filters/wordpress/clean_html.rb
+++ b/lib/docs/filters/wordpress/clean_html.rb
@@ -8,7 +8,8 @@ module Docs
         end
 
         css('hr', '.screen-reader-text', '.table-of-contents',
-            '.anchor', '.toc-jump', '.source-code-links', '.user-notes').remove
+            '.anchor', '.toc-jump', '.source-code-links', '.user-notes',
+            '.show-more', '.hide-more').remove
 
         # Add PHP code highlighting
         br = /<br\s?\/?>/i


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