Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[ENHANCEMENT] set legacyBlockRendered flag on inline MathML w/display="block" [MER-2740] #219

Closed andersweinstein closed 9 months ago

andersweinstein commented 10 months ago

MathML including display="block" is intended to render as block even if embedded inline in paragraph text, and did so in legacy. Torus has supported the legacyBlockRendered flag for this case with LaTex formulas. This change sets the flag to handle this case for MathML as well.

Requires torus change to process this flag on MathML formulas as it does for LaTex, for which there is a related torus PR.