Good day,
I am trying to do something very simple and yet turns out not. I am trying to add
and
tags inside HTML_NOTES section as I make an API call.
A simple call:
“data”: {
“html_notes”: “
This is a bold text.
This is an italic text.
This is an underlined text.
This is a strikethrough text.
This is a <a href="https://example.com">hyperlink.
This is a line
break.
Give me:
“errors”: [
{
“error”: “xml_parsing_error”,
“message”: “XML is invalid”,
“help”: “For more information on API status codes and how to handle them, read the docs on errors: Errors”
}
What is it that I am missing? I tried to create line breaks using a series of: \\n etc and that did not give the result I want when user goes to Asana to view the task in the description field.
Any assistance would be appreciated.
Thank you.