I'm using Confluence 5.7.
While writing a page I pasted some JSON code (without any macro). And I liked how it looks - there was no space between paragraphs.
Next I've done same to next piece of JSON code and then there were spaces between paragraphs.
So I looked with Firebug into HTML and found that in first case the HTML is:
<p>
<code>{</code><br>
<code>&nbsp;&nbsp;&nbsp; "CMD": [{</code>
...and in the second case
<p>{</p>
<p>&nbsp;&nbsp;&nbsp; "CMD": [{</p>
...How can I make Confluence to create first case HTML? I'd like to add some URLs to comments in code so I can not use code macro.
@Steven Behnke
Any JSON code is valid here. Example:
{
"CMD": [{
"OC": 13104,
"DA": 3
},
}
Please provide the source of the json you are pasting and not the final output. Impossible to reproduce.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.