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

XMLWordPrintable

    • 4.04

      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.

            Assignee:
            metapoint
            Reporter:
            Sébastien Castéran
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: