Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Questions
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
If you export questions from a Quiz that contain html tags (like <strong>) in the GIFT format, the resulting ouput looks something like this:
// Exported as question# 1 Actual question# was 1
::TF-The sky is blue. True or False.::[html]The <strong>sky<strong> is blue. True or False.{
TRUE#INCORRECT. #CORRECT!
}
Note that the word 'sky' should be bold.
If you then try to re-import this GIFT file into a different quiz, instead of the the word 'sky' appearing in bold, you're question would look like this:
The <strong>sky</strong> is blue. True or False.
When exporting as GIFT, if the < and > are part of an html tag, they should NOT be converted to < and &rt;
I just tried this in 1.9.4+ (latest STABLE) and it doesn't convert the < and > to entities. I used the HTML editor which creates "spans" and all sorts of junk but it comes out the other end without being transformed. Thoughts?
Just tried your exact example.... still can't reproduce the problem.