mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Merge pull request #927 from xiemaisi/js/ambiguous-id-attr-templates
Approved by esben-semmle
This commit is contained in:
9
javascript/ql/test/query-tests/DOM/HTML/jinja2.html
Normal file
9
javascript/ql/test/query-tests/DOM/HTML/jinja2.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<html>
|
||||
<head><title></title></head>
|
||||
<body>
|
||||
{% if foo %}
|
||||
<a href="{{url}}" id="unique">foo</a>
|
||||
{% else %}
|
||||
<a href="{{url}}" id="unique">!foo</div>
|
||||
{% endif %}
|
||||
</body>
|
||||
Reference in New Issue
Block a user