Allow closing elements to start with "text"

Change-Id: Ifa06a3e7ddf8f32ae80763501e30d4a9c7f05365
5 files changed