Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2017

More output beautification options for serializers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2
    • None
    • Blocks: Serializers
    • None
    • Patch available

    Description

      Two more options for the serializers in the cocoon-serializers block:

      <trim-text>yes<trim-text> Trims text nodes, removing needless whitespace at start and end

      <compact-text>yes<compact-text> When using indent, does not create a newline for elements only containing a text node

      Attachments

        1. serializers-beautification.patch
          7 kB
          Philipp Zerelles

        Activity

          People

            Unassigned Unassigned
            philipp Philipp Zerelles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: