Skip to content

Commit fde4521

Browse files
committed
Remove "Show / Hide more" links
1 parent 8d656ab commit fde4521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/docs/filters/wordpress/clean_html.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def call
88
end
99

1010
css('hr', '.screen-reader-text', '.table-of-contents',
11-
'.anchor', '.toc-jump', '.source-code-links', '.user-notes').remove
11+
'.anchor', '.toc-jump', '.source-code-links', '.user-notes',
12+
'.show-more', '.hide-more').remove
1213

1314
# Add PHP code highlighting
1415
br = /<br\s?\/?>/i

0 commit comments

Comments
 (0)