JXR generates files with inconsistent line ending style -------------------------------------------------------
Key: JXR-85 URL: http://jira.codehaus.org/browse/JXR-85 Project: Maven JXR Issue Type: Bug Components: maven2 jxr plugin Affects Versions: 2.2 Environment: Windows, Java 1.6, Maven 2.2.1 Reporter: Oleg Estekhin It seems that all html files genenrated by the JXR plugin contain mixed line endings. An example from one of my files: This part is from the start of the file, it uses LF ending: {code} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Assertions xref</title> <link type="text/css" rel="stylesheet" href="../../stylesheet.css" /> </head> <body> <div id="overview"><a href="../../../apidocs/oe/assertions/Assertions.html">View Javadoc</a></div><pre> {code} Then goes this part with CRLF ending: {code} <a class="jxr_linenumber" name="1" href="#1">1</a> <em class="jxr_comment">/*<em class="jxr_comment">-</em></em> ... skipped ... <a class="jxr_linenumber" name="134" href="#134">134</a> } {code} And the file ends with this oart, again with LF ending: {code} </pre> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body> </html> {code} -- 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