elifecleaner 0.39.0
Pre-release
Pre-release
Modified: sub_article.format_content_json()
to invoke transform_ordered_lists()
Added: sub_article.transform_ordered_lists()
to convert ordered lists into p tags
Added: sub_article.copy_list_item_content()
used in transform_ordered_lists()
to copy the content from one tag to a new tag
Added: sub_article.list_tag_start_value()
to get the @start
attribute of a <list>
tag, or return 1 if the attribute is not there
Use at least docmaptools==0.9.0
for best results, so the <list-item>
content is wrapped in a <p>
tag.
Code merged in PR #101