Pārlūkot izejas kodu

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

git-svn-id: trunk@28698 -
marco 11 gadi atpakaļ
vecāks
revīzija
72b521e365
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 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;