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] [MER-3389] Handle pullouts containing alternatives #259

Closed andersweinstein closed 4 months ago

andersweinstein commented 4 months ago

Alvin statistics course contains alternatives within pullouts to conform to a convention that statistical package instructions are rendered as pullouts. This won't work in torus since pullouts and alternatives are block elements. In addition the alternative content itself is generally complex, with multiple paragraphs and/or bulleted lists.

This simple solution just eliminates the pullout level if it contains alternatives. This suffices to get the content legibly rendered.