Permalink
Browse files

fix brace style and add comment

  • Loading branch information...
1 parent 1a81787 commit 638b218790f815f71969cb69218000c30e7ae832 @odrobnik odrobnik committed Jan 9, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 Core/Source/DTHTMLElement.m
@@ -207,7 +207,9 @@ - (NSDictionary *)attributesForAttributedStringRepresentation
[tmpDict setObject:(id)[_textColor CGColor] forKey:(id)kCTForegroundColorAttributeName];
}
}
- else {
+ else
+ {
+ // use current graphics context stroke color instead
[tmpDict setObject:[NSNumber numberWithBool:YES] forKey:(id)kCTForegroundColorFromContextAttributeName];
}

0 comments on commit 638b218

Please sign in to comment.