Hi,
Where is the comma? -" 'arg1':'value1','arg2':'value2' "
The %1 is a kind of placeholder - there where the %1 is written the given calling parameter will be insert.
That means in your case the
|
Quellcode
|
1
|
trace(%1);
|
becomes:
|
Quellcode
|
1
|
trace('arg1':'value1','arg2':'value2');
|
and that means calling the trace action with two parameters - and the trace action itself will print/trace the both parameters without comma.
That's the reason why there is no comma in this case

.
About your second case with the text width - I can't reproduce your problem, when I test your code it always works as it should...
What mobile browser have you tested?
Best regards,
Klaus