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

Adding comments with backslashes in the customer portal makes the backslashes duplicated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.20.30, 9.13.1, 9.14.0, 9.4.17, 9.12.4
    • Issue - Comments
    • None

    Description

      Issue Summary

      Adding comments containing backslashes causes the comments to not be rendered correctly in the old issue view

      Steps to Reproduce

      1. Connect to the customer portal and create an issue.
      2. Add the comment using backslashes as the one below:
        \\Program Files\Company\Software
        

      Expected Results

      The comment should be displayed like the one below:

      \\Program Files\Company\Software
      

      Actual Results

      \\\\Program Files\\Company
       Software

      The backslashes are duplicating and there is a class "alt-forced-newline" that is breaking the commend in two lines.

      As of 5.15/9.15

      The behaviour has changed slightly and now matches the internal Agent Jira experience.

      However, the initial double backslash is now being converted to a newline.

      Program Files\Company\Software

      Workaround

      By using the code snippet in the customer portal the backslashes aren't duplicating.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ce9530e8bba Manoel da Silva
              Votes:
              24 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync