Skip to content

Commit 0dbe27e

Browse files
committed
Don't use .css here
1 parent bda43ec commit 0dbe27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/enterprise-cutter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ begin
5050
doc.css('img').each do |img|
5151
img['src'] = "/enterprise/#{version}#{img['src']}" if img['src'] =~ /^\//
5252
end
53-
doc.css('.not-enterprise').remove
53+
doc.search('//*[@class="not-enterprise"]').remove
5454
File.open(html_file, 'w') { |file| file.write(doc.to_html) }
5555
end
5656

0 commit comments

Comments
 (0)