Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7078

YAML exporter should respect YAML syntax for multi-line values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 5.5.4
    • None
    • None

    Description

      In order to avoid consequences such as MGNLDEMO-219.

      See this SO post for more details on the syntax: https://stackoverflow.com/a/21699210

      The exporter should also not generate YAML files with two blank lines at their end, this makes the YAML invalid to linters.

      It should also be smart enough to not generate the following output, where the final single quote really looks out of place:

          'body': '<p>Indonesia is probably the greatest place in the world to go on an island hopping, ferry riding, beach lounging adventure. With more than 17,000 islands to choose from, you&rsquo;re not going to run out. Visit Bali and its ancient temples and spend time on some of the more remote islands, where you&rsquo;ll enjoy a relaxed way of life, delicious food and fabulous scenery.</p>
      '
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mmichel Maxime Michel
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD