Bug 52430: Parse XMLish tags with leading space to text

Change-Id: I02eb466167616771d85f8044f1734fc0c9f0928b
Merge "Bug 52430: Parse XMLish tags with leading space to text"