* Fixed ipro bug where iphtml would generate the wrong address for images within a page

git-svn-id: trunk@17759 -
This commit is contained in:
andrew 2008-12-09 13:54:08 +00:00
parent c3736e53d9
commit 23287ae2b7

View File

@ -8893,7 +8893,12 @@ end;
function TIpHtml.BuildPath(const Ext: string): string;
begin
Result := BuildURL(CurURL, Ext);
{$IFDEF IP_LAZARUS}
if FDataProvider <> nil then
Result := FDataProvider.BuildURL(CurURL,Ext)
else
{$ENDIF}
Result := BuildURL(CurURL, Ext);
end;
function TIpHtml.NewElement(EType : TElementType; Own: TIpHtmlNode) : PIpHtmlElement;