diff options
-rw-r--r-- | Source/SPStringAdditions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m index 80498d91..a26a878e 100644 --- a/Source/SPStringAdditions.m +++ b/Source/SPStringAdditions.m @@ -128,7 +128,7 @@ [workingCopy replaceOccurrencesOfString: @"`" withString: @"``" options: NSLiteralSearch - range: NSMakeRange(0, [quotedString length]) ]; + range: NSMakeRange(0, [workingCopy length]) ]; // Add the quotes around the string NSString *quotedString = [NSString stringWithFormat: @"`%@`", workingCopy]; |