mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Add {{! to TEMPLATE_EXPR_OPENING_TAG
This commit is contained in:
@@ -14,7 +14,7 @@ public class TemplateEngines {
|
||||
|
||||
/** Pattern for a template tag whose contents should be parsed as an expression */
|
||||
public static final Pattern TEMPLATE_EXPR_OPENING_TAG =
|
||||
Pattern.compile("^(?:\\{\\{\\{?|<%[-=])"); // {{, {{{, <%=, <%-
|
||||
Pattern.compile("^(?:\\{\\{[{!]?|<%[-=])"); // {{, {{{, {{!, <%=, <%-
|
||||
|
||||
/**
|
||||
* Pattern matching a template tag from a supported template engine.
|
||||
|
||||
Reference in New Issue
Block a user