in reply to Removing all text in a String.

It appears that you forgot some of the Monastery's injuntions -- specifically
Post no more data or code than is required to demonstrate your problem.

You got a downvote from /me for posting 700+ lines of (mostly) xml and css. In this case, IMO, your "full code" is abusively excessive.