-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
Description of the issue:
Multiline YAML strings (using the | modifier) are concatenated with \n
after going through Khard.
This is inconvenient when editing existing contacts.
It would be nice to write the YAML file in the human-friendly way keeping
those multiline | string values.
Example:
-
Create a new contact with
khard new. -
Set some multiline property, as suggested by the default template, such as:
Note: | First line. Second line.
-
Save that contact.
-
Re-open that contact with
khard edit. -
Notice that the field is now shown for edition as:
Note: "First line.\nSecond line."
Version info:
- Khard version 0.18.0
- Python 3.10.12
- NixOS 23.05