Unified · Split
| @@ -34,10 +34,13 @@ module Docs · 33 unmodified lines | ||
| 34 | 34 | if slug.start_with?('configuration') |
| 35 | 35 | css('h1', 'h2').each do |node| |
| 36 | 36 | node.name = node.name.sub(/\d/) { |i| i.to_i + 1 } |
| 37 | − node.remove_attribute('style') | |
| 38 | 37 | end |
| 39 | 38 | end |
| 40 | 39 | |
| 40 | + css('*').each do |node| | |
| 41 | + node.remove_attribute('style') | |
| 42 | + end | |
| 43 | + | |
| 41 | 44 | doc |
| 42 | 45 | end |
| 43 | 46 | end |