Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 011b982e1bff6179ca4442f41987e2c5e379c268..a90c5ca5f19583d0e4699ad0edbfbfc616ac4d45 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -364,6 +364,9 @@ def CheckLongLines(input_api, output_api, maxlen, source_file_filter=None): |
if 'url(' in line and file_extension == 'css': |
return True |
+ if '<include' in line and file_extension in ('css', 'html', 'js'): |
+ return True |
+ |
return input_api.re.match( |
r'.*[A-Za-z][A-Za-z_0-9]{%d,}.*' % long_symbol, line) |