Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Newlines in code macro of Confluence REST API

Stefan Weiser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2018

When requesting a page from the Confluence REST API there seems to be no representation, that conserves the newlines contained in a code macro. So

class SomeClass : public BaseClass
{
public:
  protected:
  int m_var;
  private:
};

becomes

class SomeClass : public BaseClass {   public:   protected:     int m_var;   private: };

in the response of the server.

Is there any way to make the newlines visible?

I tried body.export_view, body.storage, body.styled_view and body.view.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events