mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-05 23:32:33 +02:00
IDE: Support HTML lists, <ul> and <li> tags in TCodeHelpManager. Issue #31991.
git-svn-id: trunk@55307 -
This commit is contained in:
parent
2387cb7f16
commit
412bf43f42
@ -2934,13 +2934,16 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(FPDocFile: TLazFPDocFile;
|
||||
else if Node.NodeName='seealso' then
|
||||
Result:=Result+'<div class="title">'+'See also'+'</div>';
|
||||
Result:=Result+'<div class="'+Node.NodeName+'">'+s+'</div>'+LineEnding;
|
||||
end else if (Node.NodeName='p')
|
||||
end else
|
||||
if (Node.NodeName='p')
|
||||
or (Node.NodeName='b')
|
||||
or (Node.NodeName='pre')
|
||||
or (Node.NodeName='table')
|
||||
or (Node.NodeName='th')
|
||||
or (Node.NodeName='tr')
|
||||
or (Node.NodeName='td')
|
||||
or (Node.NodeName='ul')
|
||||
or (Node.NodeName='li')
|
||||
or (Node.NodeName='hr')
|
||||
then begin
|
||||
Result:=Result+'<'+Node.NodeName+'>'+AddChilds(Node)+'</'+Node.NodeName+'>';
|
||||
|
Loading…
Reference in New Issue
Block a user