A Chinese broadcaster has been barred from airing the Eurovision Song Contest after the channel censored LGBT+ content during the semi-final.

Mango TV, a state broadcaster run by central China's Hunan province, pixelated rainbow flags and cut a performance by Irish singer Ryan O'Shaughnessy that included two male dancers portraying a gay relationship.

The censorship triggered an outcry among the country's LGBT+ community and prompted the European Broadcasting Union (EBU) to halt its relationship with the channel.

The broadcaster blacked-out two performances – by Ireland and Albania – which Chinese state tabloid the Global Times said contained tattoos and "LGBT elements".

Many of China's lesbian, gay, bisexual and transgender advocacy groups expressed dismay over censorship by the channel, which is known to be relatively progressive.

"Absurd! Mango TV pixelated rainbow flags," read a headline from the Global Gay News account on China's Twitter-like Weibo.

Eurovision Song Contest's most awkward moments

"Isn't this a bit much?! Nearly twenty years ago Hunan TV first had a gay interview show... How are they now going in reverse?" China Rainbow Media Awards, which works with Chinese media to improve LGBT+ coverage, said on Weibo.

The EBU said in an online statement this week it had terminated its relationship with Mango TV for this year's contest.

"This is not in line with the EBU's values of universality and inclusivity and our proud tradition of celebrating diversity through music," the statement said.

It was not clear whether Mango TV's censorship of the content was made independently or at the behest of regulators.

Neither Mango TV nor China's TV and radio regulator responded to requests for comment.

The weirdest Eurovision outfits of all time Show all 10 1 /10 The weirdest Eurovision outfits of all time The weirdest Eurovision outfits of all time Lordi made history in 2006 by becoming the first hard rock act and Finnish artist to win the Eurovision Song Contest in 2006 with the song 'Hard Rock Hallelujah'. Getty Images The weirdest Eurovision outfits of all time In 2007, Andriy Mykhailovych Danylko represented Ukraine at the Eurovision Song Contest as his drag stage persona Verka Serduchka, finishing in second place. AFP/Getty Images The weirdest Eurovision outfits of all time Pop duo Jedward, who became famous after appearing on the sixth series of The X Factor, represented Ireland at the Eurovision Song Contest in 2012, having previously represented the country at the competition the year before. AFP/Getty Images The weirdest Eurovision outfits of all time The Eurovision Song Contest in 2016 opened with a fashion show that saw models donning unusual costumes made from what appeared to be toilet paper strut down the catwalk. Getty Images The weirdest Eurovision outfits of all time Six members from the band 'Buranovskiye Babushki' represented Russia at the Eurovision Song Contest in 2010 while wearing embroidered clothing handed down from generations of Udmurt women. They finished in third place. AFP/Getty Images The weirdest Eurovision outfits of all time Jamie-Lee Kriewitz represented Germany at the Eurovision Song Contest in 2016 when she was 18 years old, performing her song 'Ghost'. Getty Images The weirdest Eurovision outfits of all time Norwegian glam metal band Wig Wam performed as representatives of Norway at the 2005 Eurovision Song Contest, achieving ninth place. Getty Images The weirdest Eurovision outfits of all time In 2008, puppet character Dustin the Turkey represented Ireland at the Eurovision Song Contest, only managing to reach the semi-final. AFP/Getty Images The weirdest Eurovision outfits of all time Lithuanian music group InCulto reached the second final of the Eurovision Song Contest in 2010, announcing the splitting up of their band less than a year later. Getty Images The weirdest Eurovision outfits of all time Pop band Scooch were selected to represent the UK at the European Song Contest in 2007, performing the song 'Flying the Flag (For You)' while dressed as flight attendants. AFP/Getty Images

The incident comes after Sina Weibo last month reversed a ban on some LGBT+ content in the wake of a widespread outcry online that included calls to dump Sina shares.

The company said at the time that it had been working to clean up the internet of content banned in government censorship directives.

Under Chinese president Xi Jinping, China has ramped up controls on content in both traditional and online media, beefed up censorship regulators and increasingly holds internet giants accountable if they fail to police content strictly.

Homosexuality is not illegal in China, but activists say that conservative attitudes in some parts of society have prompted occasional government clampdowns.

Award-winning gay romance Call Me By Your Name was dropped from a Chinese film festival in March.

The song contest's final will take place in Lisbon on Saturday.