I'm trying to use AMPscript in Content Builder and am getting a lot of HTML being added to the code. For example :
%%[
var @a,@b,@c
set @a = 1
]%%
Generates an error because a <br />
is added after the c
in the var declaration and it complains of a syntax error - missing a comma
This is only visible in the HTML editor, the garbage HTML isn't visible in content builder.
Is this normal? I'm finding this tool frustratingly unusable. Is it a local setup issue?
%%[ var @a,@b,@c set @a = 1 %%]
this is wrong ampscript. the syntax to close an ampscript block is]%%
not%%]