fix wrong else for display_markup