From 2335e1b8b97c731e158329d304a9e1e413107cb7 Mon Sep 17 00:00:00 2001 From: Tomasz Kolek Date: Mon, 14 Nov 2016 20:28:29 +0100 Subject: [PATCH] Add escaping charactes (=,>,<) by checking correct spelling of GitHub word --- tools/lint-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lint-all b/tools/lint-all index e1c2017453..e127fc75a3 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -346,7 +346,7 @@ def build_custom_checkers(by_lang): prose_style_rules = [ {'pattern': '[^\/\#\-\"]([jJ]avascript)', # exclude usage in hrefs/divs 'description': "javascript should be spelled JavaScript"}, - {'pattern': '[^\/\-\.\"\'\_]([gG]ithub)[^\.\-\_\"]', # exclude usage in hrefs/divs + {'pattern': '[^\/\-\.\"\'\_\=\>]([gG]ithub)[^\.\-\_\"\<]', # exclude usage in hrefs/divs 'description': "github should be spelled GitHub"}, ] # type: RuleList html_rules = whitespace_rules + prose_style_rules + [