Legacy editor code block macro and new editor code snippet macro automatically encodes pasted URLs

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      On the legacy editor, when users use the code block macro to format code, the editor automatically encodes pasted text.

      This is also applicable for the new editor using the code snippet macro.

      For example,

      http://example.com/<param1>/<param2>

      Becomes:

      http://example.com/%3Cparam1%3E/%3Cparam2%3E 

      Steps to Reproduce

      1. Create a new legacy/new editor page and insert the code block/code snippet macro
      2. Inside the code block/code snippet macro, paste the following text:
      http://example.com/<param1>/<param2> 

      Expected Results

      The text gets pasted accordingly

      Actual Results

      The text gets pasted but is automatically encoded, resulting in the following:

      http://example.com/%3Cparam1%3E/%3Cparam2%3E 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Raghavan Lakshmana
            Reporter:
            Julian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: