You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because incoming tasks (whether submitted through the API, or the web interface which seems to just use the API on the backend) are JSON encoded, they cannot contain the " character directly. You can encode it as ", and this seems to work correctly in the web interface, but after doing a task sync it appears in your local task list as " not ".
It is possible to create taskwarrior tasks with quotes in them by escaping the quotes on the command line: task add hello \"world\"
works, for example.
We should explore the possibility of parsing incoming tasks for HTML escape characters, like ", and converting them (re-escaping if required) when creating the actual task in the database. I might have some time tomorrow to do an initial review of how difficult this might be.
Because incoming tasks (whether submitted through the API, or the web interface which seems to just use the API on the backend) are JSON encoded, they cannot contain the
"
character directly. You can encode it as"
, and this seems to work correctly in the web interface, but after doing atask sync
it appears in your local task list as"
not"
.It is possible to create taskwarrior tasks with quotes in them by escaping the quotes on the command line:
task add hello \"world\"
works, for example.
We should explore the possibility of parsing incoming tasks for HTML escape characters, like
"
, and converting them (re-escaping if required) when creating the actual task in the database. I might have some time tomorrow to do an initial review of how difficult this might be.This problem was initially surfaced by @bepolymathe using the web extension here: monban/intheam-webextension#13.
The text was updated successfully, but these errors were encountered: