add a trailing newline to url