[cig-commits] commit: Remove escaping for > since it actually breaks things if you escape it.
Mercurial
hg at geodynamics.org
Mon Jul 30 00:26:48 PDT 2012
changeset: 461:eb64e62ac4ac
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Mon Jul 30 00:26:38 2012 -0700
files: json_parser/print_xml.cxx
description:
Remove escaping for > since it actually breaks things if you escape it.
diff -r 3413d8547d85 -r eb64e62ac4ac json_parser/print_xml.cxx
--- a/json_parser/print_xml.cxx Mon Jul 30 00:11:57 2012 -0700
+++ b/json_parser/print_xml.cxx Mon Jul 30 00:26:38 2012 -0700
@@ -13,12 +13,6 @@ std::string fix_comparisons(const std::s
{
result.replace(i,1,"<");
i=result.find('<',i+1);
- }
- i=result.find('>');
- while(i!=std::string::npos)
- {
- result.replace(i,1,">");
- i=result.find('>',i+1);
}
i=result.find('&');
while(i!=std::string::npos)
More information about the CIG-COMMITS
mailing list