-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: CDATA nesting into CDATA is avoided as it is prohibited #231
fix: CDATA nesting into CDATA is avoided as it is prohibited #231
Conversation
When the markup wrapping into CDATA is needed, all its existed CDATA sections are preliminary removed.
Thanks for the pull request, @myhailo-chernyshov-rg! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently unmaintained. To get help with finding a technical reviewer, tag the community contributions project manager for this PR in a comment and let them know that your changes are ready for review:
Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Hi @myhailo-chernyshov-rg! Thanks for this contribution! It looks like you're contributing on behalf of Raccoon Gang - please have your manager reach out to [email protected] to have you added to Raccoon Gang's existing entity agreement with us. Thank you! |
@ormsbee are you able to merge this? |
Description
During some OLX nodes creation (HTML, discussions) the entire content is wrapped into
CDATA
tag. But such content can already containCDATA
tags inside it, which causes errors. To fix it, the existedCDATA
tag occurences are deleted (but its content is preserved) before such OLX nodes creation.Steps to reproduce
Update your Common Cartridge course
.imscc
dump (or use the attached one cdata_bug_dump.imscc.zip but remove.zip
extention leaving.imscc
): addCDATA
tag to any resource withwebcontent
type.For example, let's assume your dump's
imsmanifest.xml
looks likeIt references to сontent/i7847e58b-487f-4e39-85ca-23ecfaf4c067/Watch Class 1 Introduction.html file inside the dump. Let's assume its content looks like
For example, let's wrap
rows into
CDATA
tag, it will start to look likeRun the cc2olx script:
See a
ValueError
message:Deadline
"None"