'Escaping inside blocktrans and trans works as if it was directly in the
template.'

@setup({'i18n17': '{%    load    i18n    %}{%    blocktrans    with    berta=anton|escape    %}{{    berta    }}{%    endblocktrans    %}'})
def test_i18n17(self):

    output = self.engine.render_to_string('i18n17', {'anton': '\xce\xb1    &    \xce\xb2'})
    self.assertEqual(output, '\xce\xb1    &amp;    \xce\xb2')
