Open GAsplund opened 2 days ago
When an image is added within a <p> tag, it is interpreted as a rich_text_section, which does not accept images. For example, <p><img src="https://example.com/example.png" alt="Text" /></p> is translated into:
<p>
rich_text_section
<p><img src="https://example.com/example.png" alt="Text" /></p>
{ "type": "rich_text_section", "elements": [ { "type": "image", "image_url": "https://example.com/example.png", "alt_text": "Text" } ] }
When this is sent to a webhook, it responds with invalid_attachments and HTTP 400.
invalid_attachments
Hi @GAsplund , Thank you very much for your report. I will try to fix the problem as soon as possible!
When an image is added within a
<p>
tag, it is interpreted as arich_text_section
, which does not accept images. For example,<p><img src="https://example.com/example.png" alt="Text" /></p>
is translated into:When this is sent to a webhook, it responds with
invalid_attachments
and HTTP 400.