diff options
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java index f67dcf7e5dd..a1381945ffe 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java @@ -108,7 +108,7 @@ public class HTMLPrinter { * @return the string with escaped characters * * @see #convertToHTMLContentWithWhitespace(String) for use in browsers - * @see #addPreFormatted(StringBuffer, String) for rendering with an {@link HTML2TextReader} + * @see #addPreFormatted(StringBuilder, String) for rendering with an {@link HTML2TextReader} */ public static String convertToHTMLContent(String content) { content= replace(content, '&', "&"); //$NON-NLS-1$ @@ -118,16 +118,17 @@ public class HTMLPrinter { } /** - * Escapes reserved HTML characters in the given string - * and returns them in a way that preserves whitespace in a browser. + * Escapes reserved HTML characters in the given string and returns them in a way that preserves + * whitespace in a browser. * <p> - * <b>Warning:</b> Whitespace will not be preserved when rendered with an {@link HTML2TextReader} - * (e.g. in a {@link DefaultInformationControl} that renders simple HTML). - + * <b>Warning:</b> Whitespace will not be preserved when rendered with an + * {@link HTML2TextReader} (e.g. in a {@link DefaultInformationControl} that renders simple + * HTML). + * * @param content the input string * @return the processed string * - * @see #addPreFormatted(StringBuffer, String) + * @see #addPreFormatted(StringBuilder, String) * @see #convertToHTMLContent(String) * @since 3.7 */ |