소스 검색

Update HAProxy documentation (2.7.0)

Simon Legner 3 년 전
부모
커밋
5ff801d306
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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|