Skip to content

Commit a266fd2

Browse files
committed
Merge pull request #54 from ruby-debug/var-value-xml-encoding
Var value xml encoding
2 parents 468beaf + d8af0cc commit a266fd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ruby-debug-ide/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debugger
2-
IDE_VERSION='0.4.23.beta3'
2+
IDE_VERSION='0.4.23.beta4'
33
end

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def print_variable(name, value, kind)
173173
print("<variable name=\"%s\" kind=\"%s\" value=\"%s\" type=\"%s\" hasChildren=\"%s\" objectId=\"%#+x\">",
174174
CGI.escapeHTML(name), kind, CGI.escapeHTML(value_str), value.class,
175175
has_children, value.respond_to?(:object_id) ? value.object_id : value.id)
176-
print("<value><![CDATA[%s]]></value>", value_str)
176+
print("<value><![CDATA[%s]]></value>", CGI.escapeHTML(value_str))
177177
print('</variable>')
178178
end
179179

0 commit comments

Comments
 (0)