From ff671d6a030a3141634793e6d1e8909ab6091830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 11 Sep 2024 17:23:18 +0200 Subject: [PATCH] Fix check_missing_space_in_hyperlink docstring (#117) --- sphinxlint/checkers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinxlint/checkers.py b/sphinxlint/checkers.py index bd4caf8de..d64e7ef92 100644 --- a/sphinxlint/checkers.py +++ b/sphinxlint/checkers.py @@ -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_` - Good: `Link text _` + Bad: `Link text`_ + Good: `Link text `_ """ for lno, line in enumerate(lines, start=1): if "`" not in line: