1
0
Fork 0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-11-10 17:00:07 +00:00
promcertcheck/vendor/github.com/flosch/pongo2/template_tests/firstof.tpl

7 lines
290 B
Smarty
Raw Normal View History

2015-09-04 14:27:44 +00:00
{% firstof doesnotexist 42 %}
{% firstof doesnotexist "<script>alert('xss');</script>" %}
{% firstof doesnotexist "<script>alert('xss');</script>"|safe %}
{% firstof doesnotexist simple.uint 42 %}
{% firstof doesnotexist "test" simple.number 42 %}
{% firstof %}
{% firstof "test" "test2" %}