# Webhook test returns proper message, while making an actual post returns HTML in the message

**URL:** <https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205>\
**Category:** Friendly Help\
**Created:** [December 24, 2025, 1:10pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205 "2025-12-24T13:10:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sapra](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sapra/32/3123_2.png) [@Sapra](https://www.patreondevelopers.com/u/Sapra)\
**Post date:** [December 24, 2025, 1:10pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/1 "2025-12-24T13:10:48Z")

</div>

For some reason, when I press onto Send Test, it sends a properly formatted message that I can process and send a message to discord.

However, when I do an actual test with my own new posts, it returns a message with HTML tags.

 ![real](https://canada1.discourse-cdn.com/flex036/uploads/patreondevelopers/original/2X/9/98f7a72787f2c3774f393ac5ca00da45c179bc40.png)

Is that expected? Is there any configuration I should do?

---

<div class="post-metadata">

**Author:** ![Sapra](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sapra/32/3123_2.png) [@Sapra](https://www.patreondevelopers.com/u/Sapra)\
**Post date:** [December 24, 2025, 1:11pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/2 "2025-12-24T13:11:24Z")

</div>

![ogTest](https://canada1.discourse-cdn.com/flex036/uploads/patreondevelopers/original/2X/a/ae849c71c839c244e3820631ebf983947aaf2a0a.png)

Here’s the “Send Test” message

---

<div class="post-metadata">

**Author:** ![Sapra](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sapra/32/3123_2.png) [@Sapra](https://www.patreondevelopers.com/u/Sapra)\
**Post date:** [January 3, 2026, 10:54pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/3 "2026-01-03T22:54:09Z")

</div>

Help? I don’t understand what to do

---

<div class="post-metadata">

**Author:** ![noertap](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/noertap/32/2868_2.png) [@noertap](https://www.patreondevelopers.com/u/noertap)\
**Post date:** [January 7, 2026, 5:15pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/4 "2026-01-07T17:15:39Z")

</div>

Hi @Sapra this is expected, the `post` webhook `content` attribute does contain html tags. I think Discord does not support html and you might need to convert the data to follow their markdown formatting.

---

<div class="post-metadata">

**Author:** ![Sapra](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sapra/32/3123_2.png) [@Sapra](https://www.patreondevelopers.com/u/Sapra)\
**Post date:** [January 14, 2026, 10:12am UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/5 "2026-01-14T10:12:17Z")

</div>

But why doesn’t the default example text? When I press “test” there are no html tags included

---

<div class="post-metadata">

**Author:** ![noertap](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/noertap/32/2868_2.png) [@noertap](https://www.patreondevelopers.com/u/noertap)\
**Post date:** [January 14, 2026, 6:21pm UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/6 "2026-01-14T18:21:58Z")

</div>

The test payloads were constructed without any html tags. Production events will have these and you’ll have to handle them.

---

<div class="post-metadata">

**Author:** ![Sapra](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sapra/32/3123_2.png) [@Sapra](https://www.patreondevelopers.com/u/Sapra)\
**Post date:** [January 15, 2026, 11:57am UTC](https://www.patreondevelopers.com/t/webhook-test-returns-proper-message-while-making-an-actual-post-returns-html-in-the-message/11205/7 "2026-01-15T11:57:26Z")

</div>

Wow, that should be changed then. Test events should imitate production events, otherwise what’s the point of a test event?
