diff options
-rw-r--r-- | tikzit/src/common/GraphElementProperty.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/common/GraphElementProperty.m b/tikzit/src/common/GraphElementProperty.m index 4b47ca6..dbaeda0 100644 --- a/tikzit/src/common/GraphElementProperty.m +++ b/tikzit/src/common/GraphElementProperty.m @@ -120,7 +120,7 @@ } else { static NSCharacterSet *avoid = nil; if (avoid == nil) - avoid = [[NSCharacterSet characterSetWithCharactersInString:@",="] retain]; + avoid = [[[NSCharacterSet characterSetWithCharactersInString:@"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>-'0123456789."] invertedSet] retain]; if ([[self value] rangeOfCharacterFromSet:avoid].length > 0) { return [NSString stringWithFormat:@"%@={%@}", [self key], [self value]]; |