cname = tag.Mid(10, n);
// grab the value from the class, put it in tag since the data is no longer needed
- tag = wxEchoVariable::GetValue(cname, NULL);
+ tag = wxEchoVariable::FindValue(cname, NULL);
}
else {
// Find the parms
cname = tag.Mid(10, n);
// grab the value from the class, put it in tag since the data is no longer needed
- tag = wxEchoVariable::GetValue(cname, parms.c_str());
- }
+ tag = wxEchoVariable::FindValue(cname, parms.c_str());
+
+ }
+ // remove ampersands and <> chars
+ tag.Replace("&", "&");
+ tag.Replace("<", "<");
+ tag.Replace(">", ">");
output = (output.Mid(0,i) + tag + output.Mid(i));
}