Dear Maintainer,
Reproduction steps:
1. Run nm-applet from terminal.
2. Set up wifi AP with SSID that contains "&".
3. Connect to that wifi AP.
In terminal you will see error like:
(nm-applet:3753): Gtk-WARNING **: Failed to set text from markup due to error
parsing markup: Error on line 1: Entity did not end with a semicolon; most
likely you used an ampersand character without intending to start an entity —
escape ampersand as &
Variation
If you have wifi such as "<b>foo", you'll get the following error:
(nm-applet:3753): Gtk-WARNING **: Failed to set text from markup due to error
parsing markup: Unknown tag 'script' on line 3 char 86
Seaching the internet suggests this has to do with Pango interpreting markup.
While my test cases are benign, it is worrying that some more complex could be
generated (e.g. including a hyperlink, image; or just triggering some parsing
bug).
As SSIDs do not contain markup, it should just not be interpreted as such.
I have not tested later versions. Updating only network-manager-gnome from
testing on "stable" seems to be impossible.