diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rexml/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb index e9917cf52d..ca5984e178 100644 --- a/lib/rexml/attribute.rb +++ b/lib/rexml/attribute.rb @@ -110,7 +110,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 |