mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 18:19:45 +02:00
* suppress keyword if seealso is assigned. Fix for code that is scheduled to be rewritten.
git-svn-id: trunk@39793 -
This commit is contained in:
parent
116230f759
commit
5e7e4814d9
@ -253,10 +253,8 @@ begin
|
||||
begin
|
||||
if (FLevel > 0 ) then
|
||||
begin
|
||||
|
||||
if LowerCase(GetTagName(AActualTag)) = 'param' then begin
|
||||
|
||||
TagAttributeName := GetVal(AActualTag, 'name');
|
||||
if LowerCase(GetTagName(AActualTag)) = 'param' then begin
|
||||
TagAttributeName := GetVal(AActualTag, 'name');
|
||||
TagAttributeValue := GetVal(AActualTag, 'value');
|
||||
//writeln('name,value',tagattributename, ' ',tagattributevalue);
|
||||
if TagAttributeName <> '' then begin
|
||||
@ -424,7 +422,7 @@ var
|
||||
WriteString('<LI> <OBJECT type="text/sitemap">');
|
||||
Inc(Indent, 8);
|
||||
|
||||
if (SiteMapType = stIndex) and (Item.Children.Count > 0) then
|
||||
if (SiteMapType = stIndex) and ((Item.Children.Count > 0) or (item.seealso<>'')) then
|
||||
WriteParam('Keyword', Item.Text);
|
||||
//if Item.KeyWord <> '' then WriteParam('Keyword', Item.KeyWord);
|
||||
if Item.Text <> '' then WriteParam('Name', Item.Text);
|
||||
|
Loading…
Reference in New Issue
Block a user