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

Error on pasting tags inside segment-editor

    XMLWordPrintable

Details

    • High
    • There was JS problem when editing a segment and pasting external content containing XML fragments.
    • -

    Description

      problem

      When you edit a segment, and paste here a tag into the segment, then you will get an error.

      To reproduce hat error, just copy the following

      <1></1>

      follow up error JS

      This will lead to:
      TypeError: undefined is not an object (evaluating 'item.tagName.toLowerCase')

      Problem is here that tagName is not an object

      follow up error export

      Apart from the JS error the content was saved to the DB as unencoded <1> content instead of <1> which would be the expected form

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            Stephan Stephan Bergmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: