mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Fix hyphenation
@@ -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.
|
||||
None.
|
||||
|
Reference in New Issue
Block a user