From 5ff801d306469d3e75da9afbd866ba2d3b917e72 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 20 Dec 2022 23:26:02 +0100 Subject: [PATCH] Update HAProxy documentation (2.7.0) --- lib/docs/filters/haproxy/clean_html.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/haproxy/clean_html.rb b/lib/docs/filters/haproxy/clean_html.rb index 78f8e818..7a0b3c14 100755 --- a/lib/docs/filters/haproxy/clean_html.rb +++ b/lib/docs/filters/haproxy/clean_html.rb @@ -29,8 +29,9 @@ module Docs node['id'] = node.at_css('.anchor')['name'] end - css('.keyword > b').each do |node| + css('.keyword > b', '.keyword > span').each do |node| node.content = node.content + node.remove_attribute('style') end css('.dropdown').each do |node|