Double hyphens get collapsed to a single long hyphen

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.20.4
    • Component/s: Rich Text Editor
    • None
    • 8.2
    • 2
    • Severity 2 - Major

      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

            Assignee:
            Unassigned
            Reporter:
            Aniket Ranjan
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: