Skip to content

Commit bc8a273

Browse files
committed
merge revision(s) 23504:
* lib/rexml/text.rb (REXML::Text.normalize): call to_s for input. [ruby-talk:337069] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent e877f7e commit bc8a273

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Wed Jul 22 23:39:34 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* lib/rexml/text.rb (REXML::Text.normalize): call to_s for input.
4+
[ruby-talk:337069]
5+
16
Tue Jul 21 18:21:47 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* lib/mkmf.rb (SRC_EXT): should be flat.

lib/rexml/text.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def Text::read_with_substitution( input, illegal=nil )
286286
EREFERENCE = /&(?!#{Entity::NAME};)/
287287
# Escapes all possible entities
288288
def Text::normalize( input, doctype=nil, entity_filter=nil )
289-
copy = input
289+
copy = input.to_s
290290
# Doing it like this rather than in a loop improves the speed
291291
#copy = copy.gsub( EREFERENCE, '&amp;' )
292292
copy = copy.gsub( "&", "&amp;" )

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.7"
2-
#define RUBY_RELEASE_DATE "2009-07-21"
2+
#define RUBY_RELEASE_DATE "2009-07-22"
33
#define RUBY_VERSION_CODE 187
4-
#define RUBY_RELEASE_CODE 20090721
5-
#define RUBY_PATCHLEVEL 187
4+
#define RUBY_RELEASE_CODE 20090722
5+
#define RUBY_PATCHLEVEL 188
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 7
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 7
12-
#define RUBY_RELEASE_DAY 21
12+
#define RUBY_RELEASE_DAY 22
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)