Calling format_string before check_markup to prevent disappearing placeholders.