Make sure string can close before end of line