We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44056e0 commit 0294f52Copy full SHA for 0294f52
sphinxlint.py
@@ -159,7 +159,7 @@
159
# https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#toc-entry-44
160
default_role_re = re.compile(r"(^| )`\w([^`]*?\w)?`($| )")
161
162
-seems_hyperlink_re = re.compile(r"`[^`]*?(\s?)<https?://[^`]+>`(_?)")
+seems_hyperlink_re = re.compile(r"`[^`]+?(\s?)<https?://[^`]+>`(_?)")
163
164
leaked_markup_re = re.compile(r"[a-z]::\s|`|\.\.\s*\w+:")
165
tests/fixtures/xpass/link-with-no-title.rst
@@ -0,0 +1 @@
1
+This is a valid link: `<http://localhost:8000/>`_.
0 commit comments