-
Type:
Bug
-
Status: Verified
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 11.5 [Tentative], 12.3, 19.0
-
Component/s: Lessons, Tests & Quizzes (Samigo)
-
Labels:None
-
12 status:Resolved
-
Test Plan:
If you create LaTeX math in a Samigo assessment and turn on MathJax in the site, the math renders as expected delivered directly through Samigo. However when linked up in a Lessons, it does not. See test plan for details. I also tested assignment which DOES appear to work fine so it's probably just a Samigo thing.
This might be because the content is in an iframe in lessons and mathjax isn't rendering in the iframe. Maybe this would be useful?
https://stackoverflow.com/a/32117794/3708872
This also happened on SAK-25979 before where the synoptic tools are in iframes
I believe the fix for this would be to refactor the code in portal to supply the headers and other code to Samigo (included in header.inc jsp) rather than Samigo hardcoding all of it. I feel like this would be easier and probably better than trying to get portal to inject the MathJax code into the iframes where needed, since it's just Samigo that seems to have this issue.