From 76ca3f317f4af91d76c868fef5ce5e6c0d45cb0c Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 13 May 2006 12:11:13 +0000 Subject: [PATCH] Javadoc for not escaping apos git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406082 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang/StringEscapeUtils.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/java/org/apache/commons/lang/StringEscapeUtils.java b/src/java/org/apache/commons/lang/StringEscapeUtils.java index 8e4a8c5cd..d8fe391ba 100644 --- a/src/java/org/apache/commons/lang/StringEscapeUtils.java +++ b/src/java/org/apache/commons/lang/StringEscapeUtils.java @@ -425,8 +425,10 @@ public class StringEscapeUtils { * "bread" & "butter". *

* - *

Supports all known HTML 4.0 entities, including funky accents.

- * + *

Supports all known HTML 4.0 entities, including funky accents. + * Note that the commonly used apostrophe escape character (') + * is not a legal entity and so is not supported).

+ * * @param str the String to escape, may be null * @return a new escaped String, null if null string input * @@ -464,11 +466,11 @@ public class StringEscapeUtils { * "bread" & "butter" *

becomes:

* "bread" & "butter". - * - *

Supports all known HTML 4.0 entities, including funky accents. Note that - * the common apostrophe escape character (' is not a legal entity - * and so is not supported.

- * + * + *

Supports all known HTML 4.0 entities, including funky accents. + * Note that the commonly used apostrophe escape character (') + * is not a legal entity and so is not supported).

+ * * @param writer The Writer to write the result to. This must not be null. * @param string The String to escape. This may be null. *