Pārlūkot izejas kodu

Keep "Related" section

Szabolcs Légrádi 7 gadi atpakaļ
vecāks
revīzija
a8ff630f9a
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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