You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From #27 (comment): some characters (such as punctuation) are allowed immediately after inline literals and roles, whereas others (alphanumerical) aren't.
The following regex could be improved to catch only the problematic characters:
I think this is now fixed, not because we enhanced the regex, but because all legitimate constructions are hidden from this detector via the paragraph = clean_paragraph(paragraph) call one line before the regex.
From #27 (comment): some characters (such as punctuation) are allowed immediately after inline literals and roles, whereas others (alphanumerical) aren't.
The following regex could be improved to catch only the problematic characters:
sphinx-lint/sphinxlint.py
Line 207 in 1c5adaa
Replacing the last
.
with\w
seems to cause lot of false positives though.The text was updated successfully, but these errors were encountered: