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
The warning is meant to be shown when "But" is at the start of paragraphs. However, in its current implementation, it seems to check for "But" at the beginning of each new line in the body of the text. This is incorrect for formats that normalise white spaces and allow semantic line breaks. They can have "But" at the start of a new line within a paragraph (at the start of or within a sentence).
In rst/markdown/TeX, a new paragraph must be preceded by an empty line.
So:
This is a sentence.
But this sentence is not the beginning of a new paragraph.
The warning should not be shown here.
But, it should be shown here.
The warning should appear at the second "But", but not at the first.
The text was updated successfully, but these errors were encountered:
sanjayankur31
changed the title
misc.but No paragraph should start with a 'But': checks starts of sentences too, not just paragraphs (rst/TeX)misc.but No paragraph should start with a 'But': checks starts of new lines which may not all indicate new paragraphs (rst/TeX)
Jul 12, 2024
This is meant to be addressed in the code, by using a case-sensitive match. If you're getting false positives from it anyway, that indicates a problem with the ignore_case switch.
I'll try to verify this later, although the check has been updated in #1371, which may have inadvertently fixed this issue. I'll get back to you either way.
The warning is meant to be shown when "But" is at the start of paragraphs. However, in its current implementation, it seems to check for "But" at the beginning of each new line in the body of the text. This is incorrect for formats that normalise white spaces and allow semantic line breaks. They can have "But" at the start of a new line within a paragraph (at the start of or within a sentence).
In rst/markdown/TeX, a new paragraph must be preceded by an empty line.
So:
The warning should appear at the second "But", but not at the first.
The text was updated successfully, but these errors were encountered: