Polylang languages display code when hovering in the header (Oshine)

Hi everyone,

I have an issue with the Oshine theme and the Polylang plugin. My website is both in English and French and I have been using Polylang for a few years without any issues with other themes. But with Oshine, when hovering over the language names in the menu in the header, code is displayed.The code is for the flags, but even by removing the flags there is still some code displayed instead of just the name like the other menu items. Please note I also wish to keep the flag as it makes it easier to spot the languages for visitors.

Has any of you face this problem already? And if yes, how did you fix it?