'Iterating over strings outputs safe characters.'

@setup({'autoescape-stringiterations01': '{%    for    l    in    var    %}{{    l    }},{%    endfor    %}'})
def test_autoescape_stringiterations01(self):

    output = self.engine.render_to_string('autoescape-stringiterations01', {'var': 'K&R'})
    self.assertEqual(output, 'K,&amp;,R,')
