Skip to content

Commit ff671d6

Browse files
authored
Fix check_missing_space_in_hyperlink docstring (#117)
1 parent 82e6aec commit ff671d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxlint/checkers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ def check_backtick_before_role(file, lines, options=None):
237237
def check_missing_space_in_hyperlink(file, lines, options=None):
238238
"""Search for hyperlinks missing a space.
239239
240-
Bad: `Link text<https://example.com>_`
241-
Good: `Link text <https://example.com>_`
240+
Bad: `Link text<https://example.com>`_
241+
Good: `Link text <https://example.com>`_
242242
"""
243243
for lno, line in enumerate(lines, start=1):
244244
if "`" not in line:

0 commit comments

Comments
 (0)