Browse Source

+ Fixed header row for table

michael 21 years ago
parent
commit
cfde5a91a5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      utils/fpdoc/fpde/pgeditor.pp

+ 3 - 3
utils/fpdoc/fpde/pgeditor.pp

@@ -514,10 +514,10 @@ begin
     If UseHeader then 
     If UseHeader then 
       begin
       begin
       Dec(Rows);
       Dec(Rows);
-      T:='<tr>';
+      T:='<th>';
       For I:=1 to Cols do
       For I:=1 to Cols do
-        T:=T+'<th></th>';
-      T:=T+'</tr>'+lineEnding;  
+        T:=T+'<td></td>';
+      T:=T+'</th>'+lineEnding;  
       end;
       end;
     For I:=1 to rows do
     For I:=1 to rows do
       T:=T+R;
       T:=T+R;