When I run
contains(serialize("Line 1. Line 2. Line 3.", map { "method" : "text", "newline" : "\r\n" }), ' ')
in BaseX 9.0.2 (from the command line basex.bat or in the GUI) I get the result "false" while I expected "true".
Have I not provided the newline option correctly?