From 90f2988ba3226396c8e5115cf8a13b953fea80cd Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Thu, 9 Jan 2020 17:18:33 -0500 Subject: [PATCH] Fix ansible docs --- lib/docs/filters/ansible/clean_html.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/filters/ansible/clean_html.rb b/lib/docs/filters/ansible/clean_html.rb index 190b6638..df4370d7 100644 --- a/lib/docs/filters/ansible/clean_html.rb +++ b/lib/docs/filters/ansible/clean_html.rb @@ -2,7 +2,7 @@ module Docs class Ansible class CleanHtmlFilter < Filter def call - @doc = at_css('.document') + @doc = at_css('[itemprop=articleBody]') css('font').each do |node| node.before(node.children).remove