Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1548

TrackChanges: nested DEL tags in the frontend

    XMLWordPrintable

Details

    Description

      Problem

      In some circumstances the browser sends on segment saving nested DEL tags to the server.

      This leads to "Notice: No valid HTML in translate5 segment" errors on the server.

      The segment could not be saved then.

      Todo

      1. Investigate how it could be possible to get nested DELs in the editor.
      2. Investigate why the algorithm which cleans the HTML in the JS does not prevent such nesting

      Results

      1. Could not reprocude nested DELs.
      2. The algorithm does clean nested DELs as in the example.

      Solution (hopefully):

      • handle TrackChanges also when leaving segment by doubleclicking another segment
      • run the complete cleanUp-process also before saving, always

      Attachments

        Activity

          People

            Ines-Paul Ines-Paul Baumann (Inactive)
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: