fixing EOL highlighting

updating as per issue fix from the master tree.