mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:59:10 +02:00
Reverted r65252 #caf1ee88ad: IDE: Add '.' to tooltip help if missing. Issue #39004, patch by CudaText man.
This caused a regression (bug #39011), and descriptions themselves had been corrected instead in order to have correct punctuation in all help output formats (CHM, HTML etc.) git-svn-id: trunk@65276 -
This commit is contained in:
parent
57339c6efd
commit
91e1a5a741
@ -2939,14 +2939,7 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(FPDocFile: TLazFPDocFile;
|
||||
if Node.NodeName='errors' then
|
||||
Result:=Result+'<div class="title">'+'Errors'+'</div>'
|
||||
else if Node.NodeName='seealso' then
|
||||
Result:=Result+'<div class="title">'+'See also'+'</div>'
|
||||
else if Node.NodeName='short' then
|
||||
begin
|
||||
//fix Mantis issue #39004
|
||||
s:=Trim(s);
|
||||
if (s<>'') and (s[Length(s)]<>'.') then
|
||||
s:=s+'.';
|
||||
end;
|
||||
Result:=Result+'<div class="title">'+'See also'+'</div>';
|
||||
Result:=Result+'<div class="'+Node.NodeName+'">'+s+'</div>'+LineEnding;
|
||||
end else
|
||||
if (Node.NodeName='p')
|
||||
|
Loading…
Reference in New Issue
Block a user