table ref
Some checks failed
build_docker / essential (push) Successful in 1s
build_docker / build_paddle_ocr (push) Successful in 4m39s
build_docker / build_raytune (push) Has been cancelled
build_docker / build_easyocr_gpu (push) Has been cancelled
build_docker / build_doctr (push) Has been cancelled
build_docker / build_doctr_gpu (push) Has been cancelled
build_docker / build_paddle_ocr_gpu (push) Has been cancelled
build_docker / build_easyocr (push) Has been cancelled

This commit is contained in:
2026-01-24 16:00:11 +01:00
parent 0089b34cb3
commit a071b82b38
2 changed files with 68 additions and 65 deletions

View File

@@ -299,8 +299,11 @@ def parse_md_to_html_blocks(md_content):
table_html += '</table></div>'
html_blocks.append(table_html)
# Add source with proper template format
html_blocks.append(f'<p class=Piedefoto-tabla style="margin-left:0cm"><span lang=ES>Fuente: {table_source}.</span></p>')
# Add source with proper template format (convert markdown links to HTML)
source_html = md_to_html_para(table_source)
if not table_source.endswith('.'):
source_html += '.'
html_blocks.append(f'<p class=Piedefoto-tabla style="margin-left:0cm"><span lang=ES>Fuente: {source_html}</span></p>')
html_blocks.append('<p class=MsoNormal><span lang=ES><o:p>&nbsp;</o:p></span></p>')
continue