* Replace strange characters with ! instead of dropping them (dropping causes duplicate labels)

git-svn-id: trunk@16285 -
This commit is contained in:
michael 2010-11-01 09:55:54 +00:00
parent 747b93b7ec
commit 03774ca2c3

View File

@ -187,7 +187,9 @@ begin
SetLength(Result, 0);
for i := 1 to Length(S) do
If not (S[i] in ['&','{','}','#','_','$','%','''','~','^', '\']) then
Result := Result + S[i];
Result := Result + S[i]
else
Result:=result+'!'
end;