fix highlighting text that starts with space (v 1.7.4)

Change-Id: I1da85271f81a2e01fa617434c82faa8148d56e0d
Merge "fix highlighting text that starts with space (v 1.7.4)"