MathML exclusion does not work when the math element is on a single line

Issue #677 resolved
Kuro Kurosaka created an issue

The MathML exclusion feature implemented to fulfill the Issue #645 works only when the math start tag and end tag, or its enclosing block, is made of more than one lines. If it is on a single line, it does not work because of the way Flexmark, the underling Markdown parsing library, works. Because of this, text in some math elements in the sample markdown file attached to the Issue #645 is still extracted. The version effected is M36. Note a feature request has been filed to address this in Flexmark https://github.com/vsch/flexmark-java/issues/193. If it is implemented, we just need to change the dependency of the markdown filter to use the version of flxemark that implements the request.

Comments (2)

  1. Log in to comment