elifecleaner 0.52.0
Pre-release
Pre-release
Modified: fig.py
module, moved many functions to the new block.py
module so they can be re-used:
FIG_LABEL_CONTENT_PATTERN
constantmatch_fig_label_content()
is_p_label()
is_p_inline_graphic()
strip_tag_text()
strip_tag_tail()
inline_graphic_tag_from_tag()
sub_article_tag_parts()
set_label_tag()
split_title_parts()
title_paragraph_content()
caption_title_paragraph()
set_caption_tag()
set_graphic_tag()
Added: block.py
module, holds functions to parse and generate block tags like <fig>
and <table-wrap>
Added: table.py
module for table-specific functions
Code merged in PR #127