Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
Windows, Java 1.6, Maven 2.2.1
Description
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:
<!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>
Then goes this part with CRLF ending:
<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> }
And the file ends with this oart, again with LF ending:
</pre> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body> </html>