mirror of https://github.com/zulip/zulip.git
Add escaping charactes (=,>,<) by checking correct spelling of GitHub word
This commit is contained in:
parent
75db036733
commit
2335e1b8b9
|
@ -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 + [
|
||||
|
|
Loading…
Reference in New Issue