Simon-Initiative / course-digest

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

[BUG FIX] Preserve inline tags that contain CDATA #83

Closed darrensiegel closed 2 years ago

darrensiegel commented 2 years ago

If legacy content is:

<p id="a9e68979e76b4572a3d31aae721fde4f">
    <code>
        <![CDATA[import pandas as pd]]>
    </code>
</p>

The inline tag will be lost. The reason was the special handling of CDATA, it didn't carry forward the existing inline tag stack.