Skip to content

Commit

Permalink
Fix check_missing_space_in_hyperlink docstring (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
kartben authored Sep 11, 2024
1 parent 82e6aec commit ff671d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinxlint/checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def check_backtick_before_role(file, lines, options=None):
def check_missing_space_in_hyperlink(file, lines, options=None):
"""Search for hyperlinks missing a space.
Bad: `Link text<https://example.com>_`
Good: `Link text <https://example.com>_`
Bad: `Link text<https://example.com>`_
Good: `Link text <https://example.com>`_
"""
for lno, line in enumerate(lines, start=1):
if "`" not in line:
Expand Down

0 comments on commit ff671d6

Please sign in to comment.