Uploaded image for project: 'Abdera'
  1. Abdera
  2. ABDERA-114

Missing coma in JSON serilaizer for element content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • None

    Description

      The JSON serialization misses a coma when writing a tag child with mixed content (text-tag-text). Here is an example of output:

      "children":["There is a train wreck coming.\u00a0 And it has nothing to do with whether the content is \u201cmore\u201d programmable or not.\u00a0 Long, long, long before it gets to that point, one needs to be able to reliably (and in a ",{
      "name":"a",
      "attributes":

      { "href":"http://en.wikipedia.org/wiki/Non-repudiation" }

      ,
      "children":["non-reputable"
      ]
      }" manner) determine whether or not the information is consumable at all."

      The last list is missing a comma just before " manner.

      Looking at the code it actually looks like a simple type, patch to come.

      Attachments

        1. patch.txt
          0.7 kB
          Matthieu Riou

        Activity

          People

            Unassigned Unassigned
            mriou Matthieu Riou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: