【发布时间】:2017-10-26 21:09:15
【问题描述】:
我在包含 Atlassian 标记语言的纯文本文件中有一条注释,如下所示:
An {{Unexpected end of socket}} \\nis a *TCP/IP* error message.
当我提交 REST API 请求以添加此类评论时,使用以下 JSON 简介:
{"type": "comment",
"container": {"type": "page",
"id": "123456789",
"status": "current"},
"body": {"storage": {"value": "An {{Unexpected end of socket}} \\nis a *TCP/IP* error message.",
"representation": "storage"}}}
它被呈现为带有大括号、星号和其他字面意思的标记的文本(好吧,除了 \\n 被删除,这也不好):
{{Unexpected end of socket}} 是 TCP/IP 错误消息。
理想情况下,我希望在 Confluence 评论中看到这一点:
Unexpected end of socket
是 TCP/IP 错误消息。
有什么建议吗?
谢谢,基里尔
【问题讨论】:
标签: confluence confluence-rest-api