Copy/paste an XML file converts HTML entities into special characters instead of keeping formatting when inserting it in the Code block macro

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.13.0, 7.13.2
    • Component/s: Macros - Other Macros
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When copying and pasting an XML file with HTML special character entities in a code block macro, the names are converted into the character, instead of holding the entities.
      If you manually type the file into the macro, the HTML entities are not converted.

      Steps to Reproduce

      1. Copy an XML file with HTML entities to your clipboard.
        • <?xml version="1.0" encoding="UTF-8"?>
          <awesome XML>
          	<awesomeness>>>> &quot;this text has special char&quot; &amp; &lt; <&lt;&lt; </awesomeness>
          </awesome XML>
          
      2. Create a blank page.
      3. Insert a code block macro and paste the content in it.

      Expected Results

      The macro pastes the content exactly how it's saved to the clipboard.

      Actual Results

      The macro automatically converts the HTML entities into the characters.

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Mark M (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: