mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-10 06:27:21 +01:00
* fpdoc: fixed AV when looking for link tags, patch from Michael van Canneyt
git-svn-id: trunk@11808 -
This commit is contained in:
parent
8d01c330a1
commit
6b0d250ea6
@ -560,7 +560,10 @@ constructor THTMLWriter.Create(APackage: TPasPackage; AEngine: TFPDocEngine);
|
||||
DocNode := Engine.FindDocNode(FPEl);
|
||||
if Assigned(DocNode) then
|
||||
begin
|
||||
ALink:=DocNode.Node['link'];
|
||||
if Assigned(DocNode.Node) then
|
||||
ALink:=DocNode.Node['link']
|
||||
else
|
||||
ALink:='';
|
||||
If (ALink<>'') then
|
||||
LinkList.Add(TLinkData.Create(FPEl.PathName,ALink,AModule.name))
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user