lib/feed_tools/vendor/htree/parse.rb in feedtools-0.2.23 vs lib/feed_tools/vendor/htree/parse.rb in feedtools-0.2.24

- old
+ new

@@ -103,10 +103,12 @@ matched_elem = elem break end } if matched_elem - until matched_elem.equal? stack.last + # This line breaks in Rails 1.1. + #until matched_elem.equal? stack.last + until matched_elem.object_id == stack.last.object_id stagname, stag_raw_string, children = stack.pop stack.last[2] << [:elem, stag_raw_string, children] end stagname, stag_raw_string, children = stack.pop stack.last[2] << [:elem, stag_raw_string, children, etag_raw_string] \ No newline at end of file