added new regex lists to be replaced at escapeMarkup() function.
moved escapeMarkup function call upto root elements instead of calling at every place