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

git-svn-id: trunk@28698 -
This commit is contained in:
marco 2014-09-20 12:08:53 +00:00
parent 4a90d7e3de
commit 72b521e365

View File

@ -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;