1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java Sat Sep 08 22:54:21 2012 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java Thu Sep 13 14:29:36 2012 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -1260,7 +1260,7 @@ 1.11 /** 1.12 * Print the Html table tag for the index summary tables. The table tag 1.13 * printed is 1.14 - * <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> 1.15 + * {@code <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> } 1.16 */ 1.17 public void tableIndexSummary() { 1.18 table(1, "100%", 3, 0); 1.19 @@ -1548,7 +1548,7 @@ 1.20 } 1.21 1.22 /** 1.23 - * Print the heading in Html <H2> format. 1.24 + * Print the heading in Html {@literal <H2>} format. 1.25 * 1.26 * @param str The Header string. 1.27 */ 1.28 @@ -2416,15 +2416,15 @@ 1.29 * <p> 1.30 * Here is the algorithm used to fix the link: 1.31 * <p> 1.32 - * <relative link> => docRoot + <relative path to file> + <relative link> 1.33 + * {@literal <relative link> => docRoot + <relative path to file> + <relative link> } 1.34 * <p> 1.35 * For example, suppose com.sun.javadoc.RootDoc has this link: 1.36 - * <a href="package-summary.html">The package Page</a> 1.37 + * {@literal <a href="package-summary.html">The package Page</a> } 1.38 * <p> 1.39 * If this link appeared in the index, we would redirect 1.40 * the link like this: 1.41 * 1.42 - * <a href="./com/sun/javadoc/package-summary.html">The package Page</a> 1.43 + * {@literal <a href="./com/sun/javadoc/package-summary.html">The package Page</a>} 1.44 * 1.45 * @param doc the Doc object whose documentation is being written. 1.46 * @param text the text being written.