소스 검색

* fix result:=func(result) instead of result:=func(s). Mantis #26746

git-svn-id: trunk@28698 -
marco 11 년 전
부모
커밋
72b521e365
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-xml/src/htmlelements.pp

+ 1 - 1
packages/fcl-xml/src/htmlelements.pp

@@ -141,7 +141,7 @@ end;
 
 
 function UnescapeHTML ( const S : String ) : String;
 function UnescapeHTML ( const S : String ) : String;
 begin
 begin
-  Result := StringsReplace(result,['&amp;','&lt;','&gt;','&quot;','&apos;','&#39;'],['&','<','>','"',#39,#39],[rfReplaceAll]);
+  Result := StringsReplace(s,['&amp;','&lt;','&gt;','&quot;','&apos;','&#39;'],['&','<','>','"',#39,#39],[rfReplaceAll]);
 end;
 end;