I want to update the confluence page. When I tried to get the {{body.storage}} data of the page to be updated as below and update its contents, an error occurred in the double quotation part of "details". As the definition of API, I think that it is necessary to escape because it is surrounded by double coating like "value": "{{body.storage}}". Is there a way to escape?
{{body.storage}}:
value = <p /> <p /> <ac: structured-macro ac: name = "details" ac: schema-version = "1" data-layout = "default" ac: local-id = "43d00a26-f1c8" -4aff-aac1-8e2e01ab48af "ac: macro-id =" b8fd8013-6d21-4966-9497-6dc605cc3856 "> <ac: rich-text-body> <table data-layout =" default "ac: local-id =" bd85e98a-27b9-437f-8332-33d136701948 "> <colgroup> <col style =" width: 323.0px; "/> <col style =" width: 323.0px; "/> </ colgroup> <tbody> <tr> <td> <p> test1 </ p> </ td> <td> <p> 12345 </ p> </ td> </ tr> <tr> <td> <p> test2 </ p> </ p> td> <td> <p> abcdefg </ p> </ td> </ tr> </ tbody> </ table> </ ac: rich-text-body> </ ac: structured-macro>, representation = storage, embeddedContent = [], _expandable = {content = / rest / api / content / 4260110}}
Hi @青山 明
You could surround the data with single quotes or where ever the special character comes in use the URL Encoding that may reduce the errors with quotes
Using a single quote is recommended way
May I know where exactly you are facing the problem or what error you are getting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.