The {code:xml} macro can mangle DOCTYPEs

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.5
    • Component/s: None

      see http://confluence.atlassian.com/display/~tom@atlassian.com/code+macro+bug

      The wiki markup:

      {code:xml}
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
      {code}
      

      renders as

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" ">
      http://www.eclipse.org/jetty/configure.dtd"
      

      i.e. the closing '>' of the DOCTYPE is moved to the beginning of the string.

      This doesn't happen on 4.0-CDOG-42-r146902

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              Tom Davies
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: