MathML exclusion does not work when the math element is on a single line
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)
-
-
- changed status to resolved
Fixed by commit 0f096c362036 (I put the wrong issue number in the message).
- Log in to comment
Nice, it looks like the flexmark maintainer is taking some action on this.