-
Notifications
You must be signed in to change notification settings - Fork 210
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
FITB: Elements not being retained within fillin exercises #2294
Comments
I am pretty sure they are being dropped in the PTX processing. If you check the HTML file that is produced and examine the JSON blob that has the markup for the statement that RS is supposed to display, there is no sign of the elements. |
@dbrianwalton An unrelated issue you might want to fix when you check on this: When a fillin is in an exercise-like with a label, it appears the same html id is getting applied to the exercise and the This <exercise label="programming_11">
<statement>
<p>Fill in the missing pieces:</p>
<p>
<c>#include <</c>
<fillin mode="string" case="insensitive" answer="iostream"/>
<c>></c>
... Produces: <article class="exercise exercise-like" id="programming_11"><h3 class="heading"><span class="codenumber">11<span class="period">.</span></span></h3>
<div class="ptx-runestone-container"><div class="runestone">
<div data-component="fillintheblank" class="fillintheblank" style="visibility: hidden;" id="programming_11">
... I'm not sure if you want to use the |
@dbrianwalton - A possibly related issue with processing the elements inside fillins. entity codes in This: <feedback>Incorrect, Try again! Hint: what word do we put before<c>vector <TYPE ></c></feedback> Turns into:
Which when rendered, If I remove the Inside the |
Thank you for your testing these ideas. I'll add this to my test to verify that the edit will address this. |
Reports from Chrissy and Andrew state that some elements do not appear inside exercises that are created with the fillin structure.
Chrissy's report thread: https://groups.google.com/g/pretext-dev/c/-AfefZJx-I8/m/c-VNNATVAAAJ
Andrew's report thread: https://groups.google.com/g/pretext-dev/c/wmvrpWwOABM/m/DpvBbkrjCAAJ
Chrissy reported issues with images sometimes not appearing:
and issues with links inside the fillin exercises:
Andrew reported additional issues:
I do plan to dig into this, and am not yet sure if this is an issue on the PreTeXt side — it could be due to working on XML stubs in the XSL processing — or on the Runestone side — the RS javascript HTML insertion process may have side effects.
Submitting this issue so that it is formally tracked.
The text was updated successfully, but these errors were encountered: