bug 827061 - don't attempt to find potential line-breaks within an empty string. r=standard8