Use the dollar_endonly option to prevent newlines

BugzID: 24203