Add escaping charactes (=,>,<) by checking correct spelling of GitHub word

This commit is contained in:
Tomasz Kolek 2016-11-14 20:28:29 +01:00 committed by Tim Abbott
parent 75db036733
commit 2335e1b8b9
1 changed files with 1 additions and 1 deletions

View File

@ -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 + [