瀏覽代碼

Keep "Related" section

Szabolcs Légrádi 7 年之前
父節點
當前提交
a8ff630f9a
共有 1 個文件被更改,包括 1 次插入2 次删除
  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
 
         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