Singer Jimmy Lin posts photo with actor Wallace Huo, husband of ex-girlfriend Ruby Lin

(From left) Television host Eddy Ou, actor Wallace Huo and singer-actor Jimmy Lin.
(From left) Television host Eddy Ou, actor Wallace Huo and singer-actor Jimmy Lin.PHOTO: JIMMYLIN/INSTAGRAM

Netizens were surprised by Taiwanese singer-actor Jimmy Lin's latest post on Instagram.

On the day of the Dragon Boat Festival on June 25, the 45-year-old star posted a picture of himself with fellow actor Wallace Huo and Taiwanese television host Eddy Ou and captioned it: "Fellow husbands visiting each other with dumplings."

Huo, 40, is married to Ruby Lin, 44; she and Jimmy Lin used to be an item.

But Jimmy Lin and Huo seem to be good friends.

Ruby Lin met Jimmy Lin, then a popular idol, while the two were filming the movie School Days (1995), which also starred Takeshi Kaneshiro.

The two dated for a few years but later broke up. It was reported that they had drifted apart while Ruby Lin was filming her breakout hit in Chin, the Qing-dynasty period drama My Fair Princess (1998 to 1999).

But they stayed friendly - even appearing together in an episode of talk show Mr Con & Ms Csi in 2006.

Ruby Lin married Huo in 2016 and gave birth to a daughter the following year.

Jimmy Lin married former model Kelly Chen in 2010, after she had given birth to their first son in 2009. The couple went on to have two more sons - twin boys born in 2015.