Page 2 of 2
escaping double quotes
Posted: Fri Jul 09, 2010 12:45 pm
by John
And if you run as:
texis build='update' migrationProfileTable_test/main.txt
is it right? The escape is probably happening when you print the output, not when the variable is set.
escaping double quotes
Posted: Fri Jul 09, 2010 3:23 pm
by gaurav.shetti
yes. Infact i am printint the o/p of ret (for capture) as well as printing the contents of the variable which was set with $ret.
I mean i tried both, got the same o/p
escaping double quotes
Posted: Fri Jul 09, 2010 3:49 pm
by mark
Can you post the smallest complete script that demonstrates the problem?
escaping double quotes
Posted: Fri Jul 09, 2010 3:50 pm
by John
If you just say $ret or $var and you are in htmlmode the variable will be printed with HTML escapement, so if the variable contains " it will print as "
Use <fmt %s $var> or the /main.txt entry to print out the variable contents as-is.
escaping double quotes
Posted: Mon Jul 12, 2010 5:25 am
by gaurav.shetti
Yes you are write. I tried printing out the variables using fmt %s . It is indeed not converting " into quot;