jinja2 partial escape {% and '

后端 未结 0 307
庸人自扰
庸人自扰 2021-01-13 17:36

i want to escape the following complete string using jinja2

{% set src_pk = metadata_dict[\'src_pk\'] -%}

the following works, iam using doub

相关标签:
回答
  • 消灭零回复
提交回复
热议问题