فهرست منبع

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

git-svn-id: trunk@16285 -
michael 14 سال پیش
والد
کامیت
03774ca2c3
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      utils/fpdoc/dw_latex.pp

+ 3 - 1
utils/fpdoc/dw_latex.pp

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