我想在Confluence wiki结果中放置空行空间(<p></p>
在HTML中),但无论我尝试什么都失败了。
根据the document,它说两个回车将把<p></p>
但\r\r
,\n\n
,\n\n\n\n
等等工作根本不起作用。
POST http://wiki.mysite.com/rest/api/content
{"type":"page","title":"new page1","ancestors":[{"id":390668024}], "space":{"key":"EXAMPLE"},"body":{"storage":{"value":"[Some link|http://example.com/url] - Show page.\n\nbq. Query by [Some link info|http://example.com/reference?id=214]","representation":"wiki"}}}
有了上面的REST请求,我想显示如下格式;
Some link - 显示页面。
<blank line>
一些试验(在Show page.
和bq. Query by
之间)
\n\n
=> Show page.</p>\n\n<blockquote><p>Query by
\\\\
=> Show page. <br class=\"atl-forced-newline\" /> bq. Query by
试验下方给出预期结果
Show page.\n\n \\\\ \nbq. Query by
=> Qazxswpoi