Get deeper evaluation in jinja
<p>I have python function for jinja, which resturns a string containing jinja instructions, like this:</p>

<pre><code>def test():
    # stuff ...
    return "The value of x is {{x}}"
</code></pre>

<p>I set this function into the global context of jinja, and now I want to use it:</p>

<pre><code>{% set x = 3 %}
{{ test() }}
</code></pre>

<p>Unfortunately, the return value of "test" is not evaluated, so the result is:</p>

<pre><code>The value of x is {{x}}
</code></pre>

<p>Can I somehow force the evaluation of the result of <code>test</code>?</p>