By: joris
Date: 2007-10-18
Time: 11:30
|
strange conversionHi there,
I have a part of JavaScript that is printed through [var.scriptlist;] It turned out that the variable scriptlist was converted. So I added htmlconv=no; to [var.scriptlist;]. --> [var.scriptlist;htmlconv=no;] everything is displayed correct, except for the character '[' that one is converted to [ which then corrupts my javascript... Scriptlist is the following data: photo[0] = "http://www.google.com"; photo[1] = "http://www.google.com"; photo[2] = "http://www.google.com"; photo[3] = "http://www.google.com"; etc. which becomes: photo[0] = "http://www.google.com"; photo[1] = "http://www.google.com"; photo[2] = "http://www.google.com"; photo[3] = "http://www.google.com"; What can I do to fix this? |
By: joris
Date: 2007-10-18
Time: 11:32
|
Re: strange conversionOK, quick one...
Problem solved! Also added protect=no to the variable in the template! :-) |