Html escaped twice for the log entry

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 5.0
    • Affects Version/s: None
    • Component/s: User Interface
    • None

      Html escaped twice for the log entry,
      We have lines like this:

      06-Mar-2013 12:45:15	[INFO] [INFO] [bamboo:unit-test]
      06-Mar-2013 12:45:15	[INFO] [INFO] surefire unit-test configuration:
      06-Mar-2013 12:45:15	[INFO] [INFO] <?xml version="1.0" encoding="UTF-8"?>
      06-Mar-2013 12:45:15	[INFO] <configuration>
      06-Mar-2013 12:45:15	[INFO]   <systemPropertyVariables/>
      06-Mar-2013 12:45:15	[INFO]   <excludes>
      06-Mar-2013 12:45:15	[INFO]     <exclude>it/**</exclude>
      06-Mar-2013 12:45:15	[INFO]     <exclude>**/*$*</exclude>
      06-Mar-2013 12:45:15	[INFO]   </excludes>
      06-Mar-2013 12:45:15	[INFO] </configuration>
      06-Mar-2013 12:45:15	[INFO] [INFO] [surefire:test]
      06-Mar-2013 12:45:15	[INFO] [INFO] Tests are skipped.
      06-Mar-2013 12:45:15	[INFO] [INFO] [bamboo:validate-manifest]
      

      I think it's related with this line

      SimpleLogEntry.java 52: return HtmlUtils.colorizeAnsiToHtml(HtmlUtils.getAsPreformattedText(log));
      

      Colorized also escapes Html:

      https://github.com/fusesource/jansi/blob/master/jansi/src/test/java/org/fusesource/jansi/HtmlAnsiOutputStreamTest.java
      https://github.com/fusesource/jansi/blob/master/jansi/src/main/java/org/fusesource/jansi/HtmlAnsiOutputStream.java

            Assignee:
            DavidA (Inactive)
            Reporter:
            DavidA (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: