im use jinja2 for print pdf templates. And i have this problem. If i use array[\'1\',\'2\',\'3\'], for printing. It works for my(example in screenshot)
But if