Skip to content

Commit

Permalink
Ignore 'nowrap' option for 'math' directive
Browse files Browse the repository at this point in the history
This is valid in Sphinx mode.

Fixes #31
  • Loading branch information
sbellem authored and stephenfin committed Mar 5, 2020
1 parent 0ef8e56 commit c611e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc8/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class CheckValidity(ContentCheck):
r'^Error in "code-block" directive:\nunknown option: "emphasize-lines"'
),
re.compile(r'^Error in "math" directive:\nunknown option: "label"'),
re.compile(r'^Error in "math" directive:\nunknown option: "nowrap"'),
]

def __init__(self, cfg):
Expand Down

0 comments on commit c611e46

Please sign in to comment.