redpen-cc / redpen

RedPen is an open source proofreading tool to check if your technical documents meet the writing standard. RedPen supports various markup text formats (Markdown, Textile, AsciiDoc, Re:VIEW, reStructuredText and LaTeX).
https://redpen.cc
Apache License 2.0
567 stars 74 forks source link

Question about EndOfSentence: Found invalid end of sentence "'.". #832

Open dylan-chong opened 6 years ago

dylan-chong commented 6 years ago

This tool was created using a thing called 'Hello'.

EndOfSentence: Found invalid end of sentence "'.".


Are we sure that the above is actually grammatically incorrect? It seems like a perfectly valid sentence to me, and i was not able to find a website that says this is not valid

edwardwoodward commented 6 years ago

It is not grammatically incorrect. It's just a question of style. In US English, the "correct" style is to place a comma or full stop (period) inside the quotation marks, even if it is not actually part of the quotation. RedPen has adopted this US style. Personally, I think that rule is illogical, and I would recommend ignoring it (but I'm British...)