Commit 57fcbfe0 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity&test: remove duplicated table list

parent bf32660e
...@@ -28,20 +28,21 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift): ...@@ -28,20 +28,21 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
match_doubles[my_caption_title] = my_count match_doubles[my_caption_title] = my_count
caption_relevant_count = my_count caption_relevant_count = my_count
my_count += 1 my_count += 1
else:
caption_relevant_count = match_doubles[my_caption_title] #caption_relevant_count = match_doubles[my_caption_title]
caption_id = caption_abbreviation + "-" + str(caption_relevant_count) caption_id = caption_abbreviation + "-" + str(caption_relevant_count)
caption_dict = {} caption_dict = {}
caption_dict["input"] = my_caption caption_dict["input"] = my_caption
caption_dict["item"] = {} caption_dict["item"] = {}
caption_dict["item"]["id"] = caption_id caption_dict["item"]["id"] = caption_id
caption_dict["item"]["title"] = my_caption_title caption_dict["item"]["title"] = my_caption_title
caption_dict["output"] = setTableCaption( caption_dict["output"] = setTableCaption(
caption_id, caption_id,
my_caption_title, my_caption_title,
my_shift my_shift
) )
caption_list.append(caption_dict) caption_list.append(caption_dict)
return my_count return my_count
# XXX single quotes? # XXX single quotes?
......
...@@ -470,13 +470,6 @@ ...@@ -470,13 +470,6 @@
style="text-align: left; vertical-align: top">Table description</td> style="text-align: left; vertical-align: top">Table description</td>
</tr> </tr>
<tr>
<td width="10%"><a id="Table-1"></a><span>Table-1</span></td>
<td width="90%"
style="text-align: left; vertical-align: top">Table description</td>
</tr>
</tbody> </tbody>
</table> </table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment