added support for <CR> while between two scope characters