Fix string comparision issue with newlines
Authored by: mikeaubury 2010-05-12
Parent: [r11693]
Child: [r11695]