summaryrefslogtreecommitdiff
path: root/include/apr_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apr_xml.h')
-rw-r--r--include/apr_xml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apr_xml.h b/include/apr_xml.h
index 829f0fd2..ac7f003b 100644
--- a/include/apr_xml.h
+++ b/include/apr_xml.h
@@ -304,10 +304,10 @@ APU_DECLARE(const char *) apr_xml_empty_elem(apr_pool_t *p,
/**
* quote an XML string
- * Replace '<', '>', and '&' with '&lt;', '&gt;', and '&amp;'.
+ * Replace '\<', '\>', and '\&' with '\&lt;', '\&gt;', and '\&amp;'.
* @param p The pool to allocate out of
* @param s The string to quote
- * @param quotes If quotes is true, then replace '"' with '&quot;'.
+ * @param quotes If quotes is true, then replace '&quot;' with '\&quot;'.
* @return The quoted string
* @note If the string does not contain special characters, it is not
* duplicated into the pool and the original string is returned.