Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25882

The changelog in notification emails is clumsy when accents are within the changes

    XMLWordPrintable

Details

    Description

      The diff view in the changelog sent with email notifications is clumsy when accents are involved in the changes.

      The reason is that the accents are considered by the diff tool as word separators, and not as part of words.

      The correction is quite simple in jira-project/jira-components/jira-core/src/main/java/com/atlassian/diff/WordLevelDiffer.java : replace
      Pattern.compile("[
      p

      {Alnum}

      _]+|\\S|(\r\n|\r|\n)") with Pattern.compile("[
      p

      {L}


      p

      {Digit}

      _]+|\\S|(\r\n|\r|\n)") to match the non-ascii characters.

      Attachments

        Issue Links

          Activity

            People

              rsmart metapoint
              311c0ca916e4 Sébastien Castéran
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: