bad html coloring
-----------------

                 Key: MCOBERTURA-97
                 URL: http://jira.codehaus.org/browse/MCOBERTURA-97
             Project: Maven 2.x Cobertura Plugin
          Issue Type: Bug
         Environment: maven 2.0.10, windows xp, jdk 1.6, hudson
            Reporter: Vernat
            Priority: Minor


html coloring is incorrect for java code below. Problem is that text of the 
class is all blue after the 3 back slashs ('\').

static String javascriptEncode(String text) {
                return text.replace("\n", "\\n").replace("\"", 
"\\\"").replace("'", "\\'");
}


Pom contains :
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                                <configuration>
                                        <formats>
                                                <format>xml</format>
                                                <format>html</format>
                                        </formats>
                                </configuration>
                        </plugin>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to