Skip to content
Browse files

Merge pull request #32 from hashrocket/master

Duplicate Nokogiri object before converting to HTML
  • Loading branch information...
2 parents 63a7341 + 1ebb634 commit 1a455c7e51b5b10227b66f31c0dc79706a7ffcf1 @Mange committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/roadie/inliner.rb
View
2 lib/roadie/inliner.rb
@@ -73,7 +73,7 @@ def parsed_css
def adjust_html
Nokogiri::HTML.parse(html).tap do |document|
yield document
- end.to_html
+ end.dup.to_html
end
def add_missing_structure

0 comments on commit 1a455c7

Please sign in to comment.
Something went wrong with that request. Please try again.