From a8ff630f9a6fac408baa48d7a66d789234d85ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20L=C3=A9gr=C3=A1di?= Date: Mon, 26 Mar 2018 10:14:45 +0200 Subject: [PATCH] Keep "Related" section --- lib/docs/filters/wordpress/clean_html.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/docs/filters/wordpress/clean_html.rb b/lib/docs/filters/wordpress/clean_html.rb index dcc4f397..388b3cba 100644 --- a/lib/docs/filters/wordpress/clean_html.rb +++ b/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 = //i