Skip to content

Commit

Permalink
removed baseURL from demo since it was nil
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Jul 17, 2012
1 parent 3c21d64 commit d5a3cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/Source/DemoTextViewController.m
Expand Up @@ -116,7 +116,7 @@ - (void)viewDidLoad {
};

NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithFloat:1.0], NSTextSizeMultiplierDocumentOption, [NSValue valueWithCGSize:maxImageSize], DTMaxImageSize,
@"Times New Roman", DTDefaultFontFamily, @"purple", DTDefaultLinkColor, baseURL, NSBaseURLDocumentOption, callBackBlock, DTWillFlushBlockCallBack, nil];
@"Times New Roman", DTDefaultFontFamily, @"purple", DTDefaultLinkColor, callBackBlock, DTWillFlushBlockCallBack, nil];

NSAttributedString *string = [[NSAttributedString alloc] initWithHTMLData:data options:options documentAttributes:NULL];

Expand Down

0 comments on commit d5a3cf3

Please sign in to comment.