diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/rexml/attribute.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Tue Aug 16 13:38:36 2016 Kouhei Sutou <kou@cozmixng.org> + + * lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong + entry reference name of double quote. + [Bug #12609][ruby-core:76509] + Patch by Joseph Marrero. Thanks!!! + Tue Aug 16 13:36:00 2016 Koichi Sasada <ko1@atdot.net> * gc.c (gc_mark_roots): should mark the VM object itself to mark diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb index ef9e544294..c3e8aa07d7 100644 --- a/lib/rexml/attribute.rb +++ b/lib/rexml/attribute.rb @@ -109,7 +109,7 @@ module REXML # b.to_string # -> "ns:x='y'" def to_string if @element and @element.context and @element.context[:attribute_quote] == :quote - %Q^#@expanded_name="#{to_s().gsub(/"/, '"e;')}"^ + %Q^#@expanded_name="#{to_s().gsub(/"/, '"')}"^ else "#@expanded_name='#{to_s().gsub(/'/, ''')}'" end @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.2.6" #define RUBY_RELEASE_DATE "2016-08-16" -#define RUBY_PATCHLEVEL 350 +#define RUBY_PATCHLEVEL 351 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 8 |