Handle newlines in string literals