export default escapeMarkup function so it can be easily accessed. #1222