In a forge webhook I update a Confluence page. Updating works fine, but the markup is not translated. What is missing in the following?
requestConfluenceJson(
route`/wiki/rest/api/content/${page.id}`,
{
method: "put",
body: JSON.stringify({
version: {
number: number + 1,
},
title: page.title,
type: "page",
body: {
storage: {
value: text,
representation: "wiki",
},
},
}),
}
)
This comes out like:
* Warum ist es ...
* Warum bekomme ich ...
* Warum reagiert meine ...
* Warum hilft es beim ...
Instead of
- Warum ist es …
- Warum bekomme ich …
- Warum reagiert meine …
- Warum hilft es beim …