diff --git a/ide/codehelp.pas b/ide/codehelp.pas index 85ba9c5402..31dd417f79 100644 --- a/ide/codehelp.pas +++ b/ide/codehelp.pas @@ -697,7 +697,7 @@ var Child: TDOMNode; FileAttribute, LinkAttribute: TDOMAttr; begin - NewValue:=ToUnixLineEnding(NewValue); + NewValue:=ToOSLineEnding(NewValue); if ChildName=FPDocItemNames[fpdiElementLink] then begin // update attribute if Node is TDomElement then begin