Fixes issue where strings may be truncated unnecessarily.
If the string spans multiple lines (contains character 0x1E), the limit on the line's length should be set back to the original value.
Merge pull request #1336 from ChrisNisbet01/multiline_string_issue

Fixes issue where strings may be truncated unnecessarily.