Unexpected newlines when converting DASQAL.Expression to string

The remobjects code adds newlines in an SQL query which breaks the where expression

I have a MSSQL DASSQL.Expression which looks good but the ToString() function adds newlines in the string constant.

Is this a bug?

Logged as bugs://D19709.

bugs://D19709 was closed as fixed.

Fix will be in the next release