Răsfoiți Sursa

Update HAProxy documentation (2.7.0)

Simon Legner 3 ani în urmă
părinte
comite
5ff801d306
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      lib/docs/filters/haproxy/clean_html.rb

+ 2 - 1
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|