Use gobject markup escape instead of a custom function