CORE-276 Added rich-text support for dynamically generated text box