Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The SDK does not allow me to create pages using HTML tags

Kies Tom
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2020

image.png

This is the content of Debug.
~~~
b'{"statusCode":400,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"Error parsing xhtml: Unexpected close tag </span>; expected </img>.\\n at [row,col {unknown-source}]: [1,1031]","reason":"Bad Request"}'
~~~

I want to ask how to convert the HTML language to the specification language required by the SDK at once.

Another problem is that the content I get using the SDK is HTML, but using create_page does not allow HTML tags.

The SDK does not have the ability to convert meaning.

Isn't that a conflict?

 

1 answer

0 votes
Kies Tom
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2020

I think confluence SDK is responsible for converting the HTML to the format required by the SDK.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events