Commit abec261f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: change image&table caption

parent a815223c
......@@ -25,11 +25,11 @@ def setFigureAnchor(my_counter, my_title, my_href):
])
# XXX single quotes?
figure_abbreviation = "FIG"
figure_abbreviation = "Figure"
match_href = 'src="(.*?)"'
match_content = 'alt="(.*?)"'
figure_list = []
figure_count = 1
figure_count = 0
figure_doubles = {}
for figure in re.findall('(<img.*?/>)', document_content or ''):
......
......@@ -45,7 +45,7 @@ def digestCaption(my_caption, my_caption_title, my_count, my_shift):
return my_count
# XXX single quotes?
caption_abbreviation = "TBL"
caption_abbreviation = "Table"
caption_filler = ['<caption>', '</caption>', '<div class="ci-book-caption">','</div>']
caption_list = []
caption_count = 1
......
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