elifesciences / decision-letter-parser

Parse docx file containing decision letter and author response content and produce output in other formats
MIT License
0 stars 0 forks source link

Bug fix for label title caption parsing for mml. #129

Closed gnott closed 2 years ago

gnott commented 2 years ago

Re issue https://github.com/elifesciences/issues/issues/7200

A bug parsing figure caption content where a . in a mathml tag causes problems; since the logic tries to determine a title value by trying to find the first sentence, it cannot in this case, instead use the whole string as the title if <mml is found in the first title part.

Aiming to release this change as a new library version 0.7.0.