Removed duplicate call to escapeMarkup