Fix ansible docs

This commit is contained in:
Jed Fox 2020-01-09 17:18:33 -05:00
parent e7b4f8eb9d
commit 90f2988ba3

View file

@ -2,7 +2,7 @@ module Docs
class Ansible class Ansible
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
@doc = at_css('.document') @doc = at_css('[itemprop=articleBody]')
css('font').each do |node| css('font').each do |node|
node.before(node.children).remove node.before(node.children).remove