GMarkup: bug with tab character escape/unescape
GMarkup: bug with tab character escape/unescape.
g_markup_escape_text()
doesn't escape the "\t"
character. The documentation of that function explains why.
But when parsing the written XML file with GMarkup, the tab character - present in the XML file in the value of an attribute - is replaced by a space character.
So I think it's a bug in the GMarkup parser, for the unescape.
See https://gitlab.gnome.org/swilmet/glib/-/commit/1f28a940d7d2f801c506d14b67f40c89949f6ae7 where I have expanded the unit tests for GMarkup.