It's escaped in the API result and will be re-escaped upon submit,
leading to confusion as reported in the community forum:
https://forum.proxmox.com/threads/110747/post-480507
Fixes: c4dca88b ("ui: manual backup: also set notes-template default")
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
modeSelector.setValue(data.mode);
}
if (!initialDefaults && (data['notes-template'] ?? false)) {
- me.down('field[name=notes-template]')
- .setValue(data['notes-template']);
+ me.down('field[name=notes-template]').setValue(
+ PVE.Utils.unEscapeNotesTemplate(data['notes-template']),
+ );
}
initialDefaults = true;