Fixed bug with rendering elements in text bindings if there was whitespace around it.