Added param escapeText

This parament gives ability to control if to use escapeHtml for text