Is there any difference between "json" and "tojson" filters in jinja for saltstack?

Viewed 14311
2 Answers

I am not 100% sure, but I see tojson renders <script> tag as string if present in json. The json does not and executes the js.

Related