Simon-Initiative / course-digest

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

[BUGFIX] check image style before inferring block or inline [MER-2736] #217

Closed andersweinstein closed 10 months ago

andersweinstein commented 10 months ago

Digest tool was not checking image style attribute (block or inline) before applying its method for inferring whether image should be block or inline. This wound up converting an image explicitly styled as inline into a block image. Change is to give explicit block vs image style priority in deciding.