Showing the changes to lib/docs/filters/python/clean_html.rb (1 of 34 files). Show all
Unified · Split
| @@ -38,7 +38,7 @@ module Docs · 37 unmodified lines | ||
| 38 | 38 | node.css('a').each do |link| |
| 39 | 39 | link.before(link.children).remove |
| 40 | 40 | end |
| 41 | − node.child.content = node.child.content.sub @levelRegexp, '' | |
| 41 | + node.child.content = node.child.content.remove @levelRegexp | |
| 42 | 42 | end |
| 43 | 43 | |
| 44 | 44 | css('dt').each do |node| |