mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
JS: Support [(ngModel)]
This commit is contained in:
@@ -186,7 +186,7 @@ public class HTMLExtractor implements IExtractor {
|
||||
|
||||
/** Attribute names that look valid in HTML or in one of the template languages we support, like Vue and Angular. */
|
||||
private static final Pattern VALID_ATTRIBUTE_NAME =
|
||||
Pattern.compile("[*:@]?\\[?\\(?[\\w:_\\-.]+\\]?\\)?");
|
||||
Pattern.compile("[*:@]?\\[?\\(?[\\w:_\\-.]+\\)?\\]?");
|
||||
|
||||
/** List of HTML attributes whose value is interpreted as JavaScript. */
|
||||
private static final Pattern JS_ATTRIBUTE =
|
||||
|
||||
Reference in New Issue
Block a user