Skip to content

Commit 0bf7155

Browse files
committed
Fix missing headings in Python 2.7 docs
1 parent 31efb9d commit 0bf7155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/docs/filters/python/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def root
1515

1616
def other
1717
css('h1').each do |node|
18-
node.content = node.content.sub!(/\A[\d\.]+/) do |str|
18+
node.content = node.content.sub(/\A[\d\.]+/) do |str|
1919
rgx = /\A#{str}/
2020
@levelRegexp = @levelRegexp ? Regexp.union(@levelRegexp, rgx) : rgx
2121
''

0 commit comments

Comments
 (0)