We probably should pass the base URL here. If this changes anything, it means that display styles can use relative paths to resources in their style bundles.
authorPeter Hosey <hg@boredzo.org>
Sun May 23 02:15:31 2010 -0700 (2010-05-23)
changeset 461804cd118c896e
parent 4617 697f666f8b4a
child 4619 ce8b07d8de26
We probably should pass the base URL here. If this changes anything, it means that display styles can use relative paths to resources in their style bundles.
Plugins/Displays/WebKit/GrowlWebKitWindowController.m
     1.1 --- a/Plugins/Displays/WebKit/GrowlWebKitWindowController.m	Sun May 23 02:14:30 2010 -0700
     1.2 +++ b/Plugins/Displays/WebKit/GrowlWebKitWindowController.m	Sun May 23 02:15:31 2010 -0700
     1.3 @@ -222,7 +222,7 @@
     1.4  	WebFrame *webFrame = [view mainFrame];
     1.5  	[[self window] disableFlushWindow];
     1.6  
     1.7 -	[webFrame loadHTMLString:(NSString *)htmlString baseURL:nil];
     1.8 +	[webFrame loadHTMLString:(NSString *)htmlString baseURL:baseURL];
     1.9  	[[webFrame frameView] setAllowsScrolling:NO];
    1.10  	CFRelease(htmlString);
    1.11  }