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
I believe it's not safe to always split sentences on ellipses. For example, the following sentence (initially mentioned at DavidAnson/markdownlint#719 (comment)):
Pausing... for... thought... should not [trigger splitting].
...currently splits as
'Pausing...',
'for...',
'thought...',
'should not [trigger splitting]'
and within the test, it clearly states that theoretically, you could add ... to the ignore_words - we do not have any kind of fancy logic in there to detect sentences. We commonly only detect certain chars (or combinations) and split on those. That is also the reason why I renamed my liniting rule to max-one-sentence-per-line. This way, I removed the need to combine split sentences, etc. - https://github.com/aepfli/markdownlint-rule-max-one-sentence-per-line/blob/main/test/sentences-per-line.md - is my updated version of the test
I believe it's not safe to always split sentences on ellipses. For example, the following sentence (initially mentioned at DavidAnson/markdownlint#719 (comment)):
...currently splits as
but should remain as a single sentence.
/cc @DavidAnson @aepfli
The text was updated successfully, but these errors were encountered: