summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorC. Sean Young <csyoung@google.com>2015-06-12 21:45:05 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-12 21:45:05 +0000
commit9647be429b6b4564dc7b38aca526791a72a1866d (patch)
tree64a7c07b6e01c1b16ce1242cc664aedc95938c63
parent7effdf51d490640596eb23e55b3a4b19428da5ba (diff)
parent0ec3764e8e76ff8fef5c3d8a6754cd5e760c3fba (diff)
downloadandroid_external_doclava-9647be429b6b4564dc7b38aca526791a72a1866d.tar.gz
android_external_doclava-9647be429b6b4564dc7b38aca526791a72a1866d.tar.bz2
android_external_doclava-9647be429b6b4564dc7b38aca526791a72a1866d.zip
am 0ec3764e: Fix a bug where \' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.
* commit '0ec3764e8e76ff8fef5c3d8a6754cd5e760c3fba': Fix a bug where ' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.
-rw-r--r--src/com/google/doclava/Stubs.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/google/doclava/Stubs.java b/src/com/google/doclava/Stubs.java
index 647c921..6157fa9 100644
--- a/src/com/google/doclava/Stubs.java
+++ b/src/com/google/doclava/Stubs.java
@@ -1100,7 +1100,7 @@ public class Stubs {
returnString = returnString.replaceAll("<", "&lt;");
returnString = returnString.replaceAll(">", "&gt;");
returnString = returnString.replaceAll("\"", "&quot;");
- returnString = returnString.replaceAll("'", "&pos;");
+ returnString = returnString.replaceAll("'", "&apos;");
return returnString;
}