You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to sync Markdown file into Confluence page with a few <img src="https://<url>?param1=test¶m2=test" /> HTML tags but CLI fails with the following error:
2024-08-14 16:29:52.761 FATAL Confluence API returned unexpected status: 400 Bad Request, output: ""
What did you expect to happen?
I would expect mark CLI to sync that page correctly by escaping & in query parameters automatically.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
Have the following HTML tag in your Markdown file:
Further Information (please complete the following information)
Mark Version (mark --version): 10.0.1
Mark Parameters: -p "$token" -b "$url" -f "$file"
Confluence Hosting: Server
Confluence Version: 8.5.11
Environment specific Information: macOS
Logs or other output
2024-08-14 16:29:52.422 INFO processing <path>/README.md
2024-08-14 16:29:52.679 INFO page will be stored under path: <Confluence path>
2024-08-14 16:29:52.761 FATAL Confluence API returned unexpected status: 400 Bad Request, output: ""
Additional context
The problem is in escaping &. I did some testing and this works for me: <img src="https://<url>?param1=test&param2=test" />.
The text was updated successfully, but these errors were encountered:
What happened?
I am trying to sync Markdown file into Confluence page with a few
<img src="https://<url>?param1=test¶m2=test" />
HTML tags but CLI fails with the following error:What did you expect to happen?
I would expect
mark
CLI to sync that page correctly by escaping&
in query parameters automatically.How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
Further Information (please complete the following information)
mark --version
):10.0.1
-p "$token" -b "$url" -f "$file"
Server
8.5.11
macOS
Logs or other output
Additional context
The problem is in escaping
&
. I did some testing and this works for me:<img src="https://<url>?param1=test&param2=test" />
.The text was updated successfully, but these errors were encountered: