Skip to content

Commit

Permalink
Decode linebreaks with ox preserving compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
razum2um committed Jun 1, 2018
1 parent 01fecd9 commit b422fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xsd/xmlparser/oxparser.rb
Expand Up @@ -28,7 +28,7 @@ def do_parse(string_or_readable)
::Ox.sax_parse(handler, string, {:symbolize=> false, :convert_special=> true, :skip=> :skip_return} )
else
# Use HTMLEntities Decoder. Leave the special-character conversion alone and let HTMLEntities decode it for us.
::Ox.sax_parse(handler, string, {})
::Ox.sax_parse(handler, string, {:skip=> :skip_none})
end
end

Expand Down

0 comments on commit b422fbd

Please sign in to comment.