diff options
-rw-r--r-- | OpenSim/Framework/LLSDxmlEncode.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/LLSDxmlEncode.cs b/OpenSim/Framework/LLSDxmlEncode.cs index a740866..ed5c4db 100644 --- a/OpenSim/Framework/LLSDxmlEncode.cs +++ b/OpenSim/Framework/LLSDxmlEncode.cs | |||
@@ -290,7 +290,7 @@ namespace OpenSim.Framework | |||
290 | else | 290 | else |
291 | { | 291 | { |
292 | sb.Append("<string>"); | 292 | sb.Append("<string>"); |
293 | sb.Append(e.ToString()); | 293 | EscapeToXML(e.ToString(), sb); |
294 | sb.Append("</string>"); | 294 | sb.Append("</string>"); |
295 | } | 295 | } |
296 | } | 296 | } |
@@ -611,7 +611,7 @@ namespace OpenSim.Framework | |||
611 | else | 611 | else |
612 | { | 612 | { |
613 | sb.Append("<string>"); | 613 | sb.Append("<string>"); |
614 | sb.Append(e.ToString()); | 614 | EscapeToXML(e.ToString(), sb); |
615 | sb.Append("</string>"); | 615 | sb.Append("</string>"); |
616 | } | 616 | } |
617 | } | 617 | } |