This is an extension for Gnome 3.38 (should work for GNOME 40 too) that fixes a bug in some apps not sending the proper characters and just sending the xml escape sequence on notifactions. (For example transforming ' into ')
You can install it through the GNOME extension webpage (link on the github info) or manually like this:
git clone https://github.com/PWall2222/XMLFix.git
cd XMLFix
mkdir -p ~/.local/share/gnome-shell/extensions
cp [email protected] ~/.local/share/gnome-shell/extensions/
gnome-extensions enable [email protected]