From d0ad18887198f0075494d45a1732db00370706eb Mon Sep 17 00:00:00 2001 From: John Gardner Date: Wed, 22 Dec 2021 18:30:00 +1100 Subject: [PATCH] Fix hyphenation --- SC1011.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC1011.md b/SC1011.md index be1d3be..c992dfb 100644 --- a/SC1011.md +++ b/SC1011.md @@ -17,10 +17,10 @@ echo "Nothing so needs reforming as other people's habits." ``` ### Rationale: -When writing a string in single quotes, you have to make sure that any apostrophes in the text don't accidentally terminate the single quoted string prematurely. +When writing a string in single-quotes, you have to make sure that any apostrophes in the text don't accidentally terminate the single-quoted string prematurely. Escape them properly (see the correct code) or switch quotes to avoid the problem. ### Exceptions: -None. \ No newline at end of file +None.