Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Reformat document keeps inserting new line breaks #1

Closed
besi opened this Issue · 1 comment

3 participants

@besi

Input:

{
    "glossary": {
        "title": "example glossary",
        "GlossDiv": {
            "title": "S",
            "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
                    "SortAs": "SGML",
                    "GlossTerm": "Standard Generalized Markup Language",
                    "Acronym": "SGML",
                    "Abbrev": "ISO 8879:1986",
                    "GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
                        "GlossSeeAlso": ["GML", "XML"]
                    },
                    "GlossSee": "markup"
                }
            }
        }
    }
}

Output after reformatting:

{

        "glossary": 
    {

            "title": "example glossary",

            "GlossDiv": 
        {

                "title": "S",

                "GlossList": 
            {

                    "GlossEntry": 
                {

                        "ID": "SGML",

                        "SortAs": "SGML",

                        "GlossTerm": "Standard Generalized Markup Language",

                        "Acronym": "SGML",

                        "Abbrev": "ISO 8879:1986",

                        "GlossDef": 
                    {

                            "para": "A meta-markup language,
                         used to create markup languages such as DocBook.",

                            "GlossSeeAlso": 
                        [
                            "GML",
                             "XML"
                        ]


                    },

                        "GlossSee": "markup"

                }


            }


        }


    }


}
@DTrejo

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.