Remove em dashes where the replacement is unambiguous
The project has a standing style rule against em dashes that was missed when these docs were written. This removes the 42 occurrences where the substitution is mechanical and cannot change meaning: - table cells using an em dash as a placeholder, now a hyphen - em dashes immediately followed by a conjunction or subordinator (but, and, or, so, though, while, which, where, because, since), where a comma is simply correct 115 remain. Those join independent clauses, where a comma would create a splice and a colon often reads wrong, so each needs a judgement call rather than a pattern. A blanket regex over them was attempted and reverted: it produced double colons and broken sentences.
This commit is contained in:
1 parent
8c8e1be451
commit
1bbef055c4
7 files changed
+41
-41
No files matched your search
Binary file not shown.
Reference in new issue
Block a user