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

Double hyphens get collapsed to a single long hyphen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.20.4
    • Rich Text Editor
    • None

      Issue Summary

      Any URL containing double hyphen gets converted to single em-dash in Visual mode.
      This is mostly impacting the Salesforce urls which contains double hyphens. Due to this the urls are broken.

      This is due to the feature of WikiRenderer - https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=breaks

      But eventually causing the url break.

      Steps to Reproduce

      1. Type any URL with double hyphen in Comment box or Description in Visual mode as below

      https://abc--xyz.com
      

      2. Now hit a space or enter key

      3. Click on Add

      Expected Results

      The url should be as it is - https://abc--xyz.com

      Actual Results

      Url gets changed to https://abc–xyz.com

      Workaround

      The workaround is to paste the url in Text mode rather than Visual Mode

              Unassigned Unassigned
              3814e4a56ec7 Aniket Ranjan
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: