[devdocsgjs/main: 1000/1867] Fix ansible docs




commit 90f2988ba3226396c8e5115cf8a13b953fea80cd
Author: Jed Fox <git twopointzero us>
Date:   Thu Jan 9 17:18:33 2020 -0500

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]