Skip to content

elifecleaner 0.52.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gnott gnott released this 22 Aug 23:08
· 99 commits to develop since this release
8856702

Modified: fig.py module, moved many functions to the new block.py module so they can be re-used:

  • FIG_LABEL_CONTENT_PATTERN constant
  • match_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