-
-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multi-line annotations in task edit without JSON encoding #2283
Comments
@jspricke Confirming that this indeed seems to be the case. However, I'm not sure using an escape character is the way to go. What if the annotation itself already contains (escaped) Maybe the right way forward would be to support multi-line annotations in the |
With multi-lines annotations you would need to define when a multi-line annotation ends and you could have lines like annotations in annotations... I would add on backslash to every |
@jspricke I'm thinking syntax like this, which should be unambiguous:
What you're proposing should also work though, might be a good temporary fix before we implement multi-line annotation support. |
To report a bug...
Since e4b9c1f annotations are JSON encoded in the editor making them hard to parse and edit. According to the ChangeLog this is only to escape newlines. I would propose replace newlines by
\n
(or some other char) and undo it after the edit.I'm happy to implement this if you can confirm that the JSON encoding is only for the newline and that
\n
would be acceptable.see https://taskwarrior.org/ in the editor window
(JSON encoded URL)
task diag
command.The text was updated successfully, but these errors were encountered: