You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2006/05/13 14:11:13 UTC
svn commit: r406082 -
/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Author: scolebourne
Date: Sat May 13 05:11:13 2006
New Revision: 406082
URL: http://svn.apache.org/viewcvs?rev=406082&view=rev
Log:
Javadoc for not escaping apos
Modified:
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java?rev=406082&r1=406081&r2=406082&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java Sat May 13 05:11:13 2006
@@ -425,8 +425,10 @@
* <code>&quot;bread&quot; &amp; &quot;butter&quot;</code>.
* </p>
*
- * <p>Supports all known HTML 4.0 entities, including funky accents.</p>
- *
+ * <p>Supports all known HTML 4.0 entities, including funky accents.
+ * Note that the commonly used apostrophe escape character (&apos;)
+ * is not a legal entity and so is not supported). </p>
+ *
* @param str the <code>String</code> to escape, may be null
* @return a new escaped <code>String</code>, <code>null</code> if null string input
*
@@ -464,11 +466,11 @@
* <code>"bread" & "butter"</code>
* <p>becomes:</p>
* <code>&quot;bread&quot; &amp; &quot;butter&quot;</code>.
- *
- * <p>Supports all known HTML 4.0 entities, including funky accents. Note that
- * the common apostrophe escape character (&apos; is not a legal entity
- * and so is not supported. </p>
- *
+ *
+ * <p>Supports all known HTML 4.0 entities, including funky accents.
+ * Note that the commonly used apostrophe escape character (&apos;)
+ * is not a legal entity and so is not supported). </p>
+ *
* @param writer The <code>Writer</code> to write the result to. This must not be <code>null</code>.
* @param string The <code>String</code> to escape. This may be <code>null</code>.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org