Skip to content

Commit

Permalink
Update for ox > 2.4.11 (#60)
Browse files Browse the repository at this point in the history
There is more pedantic parsing of white-space characters in ox > 2.4.11. Better to set explicitly the expected skip mode.
  • Loading branch information
valtri committed Sep 14, 2023
1 parent e2cf480 commit 6640b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multi_xml/parsers/ox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def parse_error

def parse(io)
handler = Handler.new
::Ox.sax_parse(handler, io, convert_special: true)
::Ox.sax_parse(handler, io, convert_special: true, skip: :skip_return)
handler.doc
end

Expand Down

0 comments on commit 6640b48

Please sign in to comment.