New line character not saved in date/time format across restarts
Submitted by Ruslan
Assigned to Xfce-Goodies Maintainers
Description
I'm using XFCE4 panel's Clock plugin with the following format: " %A %R\n%_d %B %Y г.", where "\n" is the LF character (0x0A). It works fine, meaning that the date/time format is indeed split into two lines as I wanted. But after restarting the panel this LF character gets transformed into SPACE character (0x20).
The problem seems to come from the fact that in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml the relevant property "digital-format" is always saved literally, with a hard newline, which on deserialization gets normalized into space. If I change this newline to , it gets loaded correctly, but is then overwritten by the wrong string.