XML tag <t> not displayed properly by code macro

XMLWordPrintable

    • Severity 3 - Minor

      Insert a code macro in a Confluence page with the following XML snippet:

      <?xml version="1.0" encoding="utf-8" standalone="yes"?>
      <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
          <si>
              <t>Row1A</t>
          </si>
          <si>
              <t>Row1B</t>
          </si>
      </sst>
      

      Choose XML/HTML as syntax highlighting. Notice that the rendered XML after the page is saved looks like this:

      <?xml version="1.0" encoding="utf-8" standalone="yes"?>
      <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
          <si>
              &lt;t>Row1A&lt;/t>
          </si>
          <si>
              &lt;t>Row1B&lt;/t>
          </si>
      </sst>
      

      The

      <t>
      

      tag has been changed to

      &lt;t>
      

      Other tags are not affected.

      If plain text syntax highlighting is chosen instead, the entire XML is displayed properly.

            Assignee:
            Unassigned
            Reporter:
            Gabriel Sandor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: