Trim text() before inject