Handle strings ending with backslash.