ruby-changes:8008
From: akr <ko1@a...>
Date: Thu, 25 Sep 2008 01:02:45 +0900 (JST)
Subject: [ruby-changes:8008] Ruby:r19532 (trunk): update rdoc.
akr 2008-09-25 01:02:37 +0900 (Thu, 25 Sep 2008) New Revision: 19532 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19532 Log: update rdoc. Modified files: trunk/transcode.c Index: transcode.c =================================================================== --- transcode.c (revision 19531) +++ transcode.c (revision 19532) @@ -2943,10 +2943,15 @@ * :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 &, < and >, respectively) + * :xml => :attr # escape as XML AttValue (AMPERSAND, LESS-THAN SIGN, GREATER-THAN SIGN and QUOTATION MARK are escaped as &, <, > and "e;. 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. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/