1.1360417-1911262917
Shows hip-hop artist Nicki Minaj Image Credit: Brad Barket/Invision/AP

The mayor of Philadelphia is apologising for the profanity used by rapper Nicki Minaj and comedian Marlon Wayans during a family-friendly July Fourth concert.

Mayor Michael Nutter said on Monday that cursing hasn’t been a problem at the show in recent years. He says performers are supposed to adhere to network TV standards.

The free outdoor concert, which featured multiple acts, was aired live on WPVI-TV. The station censored the broadcast when foul language was used.

Nutter says The Roots and singer Ed Sheeran edited their songs to avoid profanity but were still bleeped, creating the appearance they cursed.

He says performers Jennifer Hudson and Aloe Blacc kept it clean, although Vicci Martinez used one inappropriate word.