Add text tag support.

BugzId: 5694

* Update use_text_tags flag
* Add hide_text_tags flag
* Add tests