When passing an unordered list via the API, using asana’s formatting tags, Asana corrupts the formatting.
Steps to reproduce:
PUT to {{baseUrl}}/tasks/:task_gid?
{
“data”: {
“html_notes”: “
- Item 1
- Item 2
- Sub item 1
- Item 3
}
}
Result:
- Item 1
- Item 2Sub item 1
- Item 3
Note: If I format a nested list directly in asana, then GET the result via the API, and evaluate the html (e.g.: validator.w3.org), I get the following error:
Asana html:
- Item 1
- Item 2
- Sub item 1
- Item 3
Validation error:
Element [
ul
]not allowed as child of element [ ul
] in this context
This makes it pretty difficult to use the API effectively . My use case is sending updates from jira to asana tasks. It would be much easier if asana would follow a standard document markup.
Browser version:
Upload screenshots below: