iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

Inline HTML not supporting #125

Open rijuchatterjee opened 6 months ago

rijuchatterjee commented 6 months ago

I get the below errors when I have inline HTML code in the md file:

`md2cf --host 'https://confluence.xxxx.io/rest/api' --token 'Mzg2ODA3MzM1NTgyOuxxxxxxxxxxx' --space DMF README.md

400 Client Error: for url: https://confluence.xxxxxx.io/rest/api/content - b'{"statusCode":400,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"Error parsing xhtml: Unexpected close tag ; expected
.\n at : [68,210]","reason":"Bad Request"}`

This is a Confluence server and I am using API token for authentication