There's a buggette in V8 whereby anything alphabetic within square brackets in the Product Description field e.g. [RRP] is interpreted by actinic as <actinic:variable name="RRP" />
This is primarily used whereby [LINK] in the Product Details is replaced by the contents of the Information Link Field variable.
Try putting [ProductReference] into a Product Description and see what happens!
It's not just valid Variable names - Actinic seems to interpret anything within square brackets as a potential Variable.
So a bit of JavaScript like
!!<
<script type="text/javascript">
var x = 1;
var a = new Array();
a[x] = 123;
</script>
>!!
Has the line a[x] = 123; expanded as
a<actinic:variable name="x"> = 123;
which aint valid JavaScript anymore.
The fudge that seems to get around this is
a[ x ] = 123;
where those spaces inside the [ ] seem to be enough to prevent Actinic doing it's unwanted replacement.
This is primarily used whereby [LINK] in the Product Details is replaced by the contents of the Information Link Field variable.
Try putting [ProductReference] into a Product Description and see what happens!
It's not just valid Variable names - Actinic seems to interpret anything within square brackets as a potential Variable.
So a bit of JavaScript like
!!<
<script type="text/javascript">
var x = 1;
var a = new Array();
a[x] = 123;
</script>
>!!
Has the line a[x] = 123; expanded as
a<actinic:variable name="x"> = 123;
which aint valid JavaScript anymore.
The fudge that seems to get around this is
a[ x ] = 123;
where those spaces inside the [ ] seem to be enough to prevent Actinic doing it's unwanted replacement.
Comment