backslashes in the text of a field
It seems that PTC Integrity does not handle the backslash character as a special character when it appears within the text of a field. This becomes a problem for report recipes that utilizes JavaScript. For example, the following text will be fine for an HTML portion of a recipe, but will not work if brought in to a JS variable:
C:\test\uninstela\seaf\nerasl
If this text was contained in a test annotation, for example, and the text was assigned to a JS variable in the recipe like this:
var test_annotation = "<%testresult Annotation %>";
the resulting script at runtime would be:
var test_annotation = "C:\test\uninstela\seaf\nerasl";
the browser would produce an error because it is expecting a hex value after the \u in this string.
Why doesn't the script generator handle this? It should convert the backslash to \ (or something like this) before sending it to the browser:
var test_annotation = "C:\test\uninstela\seaf\nerasl";
Has anyone else run into this problem? If so, have you found a workaround?

