Formatting lost with {code} element

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.0
    • Affects Version/s: 2.0
    • Component/s: None

      While investigating another bug, I noticed that the

       element is not respecting the formatting of the element more than once.   If I add the following 
      
      {code:xml}
      <test>
          <another tag="attribute"/>
      </test>
      

      to a page I'm editing and select save then the formatting (i.e. indenting) is correctly displayed. However, if I try and edit the page again then the formatting is gone and all the elements start in 1st column.

              Assignee:
              Jeremy Higgs
              Reporter:
              Bin Yan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: