History

Remove "Show / Hide more" links

Szabolcs Légrádi committed 8 years ago

Commit fde45211 parent 8d656ab1 file · +2 −1Browse files

Unified · Split

lib/docs/filters/wordpress/clean_html.rb+2−1
@@ -8,7 +8,8 @@ module Docs · 7 unmodified lines
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