summaryrefslogtreecommitdiff
path: root/transcode.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 16:02:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 16:02:37 +0000
commita7dd79c1b4050b7132f072e38b4563433c3f1fe0 (patch)
treeab275eacb22614b63231a145acaa2c35c132d19d /transcode.c
parent0f6375be69ecbeb5a98596d61ba196979e1dbe08 (diff)
update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
-rw-r--r--transcode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/transcode.c b/transcode.c
index b82729cb5b..39e3d6cbef 100644
--- a/transcode.c
+++ b/transcode.c
@@ -2943,10 +2943,15 @@ rb_econv_init_by_convpath(VALUE self, VALUE convpath,
* :universal_newline => true # decorator for converting CRLF and CR to LF
* :crlf_newline => true # decorator for converting LF to CRLF
* :cr_newline => true # decorator for converting LF to CR
+ * :xml => :text # escape as XML CharData (AMPERSAND, LESS-THAN SIGN and GREATER-THAN SIGN are escaped as &amp;, &lt; and &gt;, respectively)
+ * :xml => :attr # escape as XML AttValue (AMPERSAND, LESS-THAN SIGN, GREATER-THAN SIGN and QUOTATION MARK are escaped as &amp;, &lt;, &gt; and &quote;. quoted by QUOTATION MARK.)
* integer form:
* Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR
* Encoding::Converter::CRLF_NEWLINE_DECORATOR
* Encoding::Converter::CR_NEWLINE_DECORATOR
+ * Encoding::Converter::XML_TEXT_DECORATOR
+ * Encoding::Converter::XML_ATTR_CONTENT_DECORATOR
+ * Encoding::Converter::XML_ATTR_QUOTE_DECORATOR
*
* Encoding::Converter.new creates an instance of Encoding::Converter.
*