diff --git a/ide/codehelp.pas b/ide/codehelp.pas
index b365838761..3557b2d0c8 100644
--- a/ide/codehelp.pas
+++ b/ide/codehelp.pas
@@ -2576,6 +2576,8 @@ function TCodeHelpManager.GetFPDocNodeAsHTML(DOMNode: TDOMNode): string;
Result:=Result+'
'+s+'
'+LineEnding;
end else if (Node.NodeName='p') then begin
Result:=Result+'<'+Node.NodeName+'>'+AddChilds(Node)+''+Node.NodeName+'>';
+ end else if (Node.NodeName='var') then begin
+ Result:=Result+''+AddChilds(Node)+'';
end else if (Node.NodeName='#text') then begin
Result:=Result+Node.NodeValue;
end else begin