There is definitely something wrong in the availability of the HTML editor in the Lesson module when editing question pages.
Moodle 1.5.3stable
Create a new question page (call it TEst1)
HTML is available for
Page contents, not available for Answer or Response boxes.
default question type is MCQ, leave it like that
Question = What do you think of Moodle?
Answer 1 = Moodle is nice
Response 1 = this is ok
Answer = Moodle is bad
Answer 2 = wrong
There are no tick boxes to ask for HML editor in Answers or Responses
Save (Button Add a Question Page)
Now edit that TEst1 question page (click on Update icon/link)
Tick the Use editor boxes in Answer 1, Response 1, etc.
At the bottom of page, click on the
Redisplay page button
Now the HTML editor is available
Format some of the text for Answer/Response 1, e.g. Moodle is
nice, this is
okSave
Check question
Formatting has been preserved both in Answer choices and in feedback to student. Fine.
Now, change our Test1 question page from MCQ type to Short Answer type. Edit it and in the question type tabs click on Short Answer, then save.
Check question page Test1
Question page is displayed as short answer format.
Enter 'Moodle is nice'
Response displayed = That's the wrong answer
Enter 'Moodle is <span style="font-weight: bold;">nice</span><br />'
Response displayed = this is
okProblem: obviously it should not be possible/allowed to use the HTML editor
when editing the Answer box of short answer questions, as this interferes with the student's answer analysis...
Moodle 1.6dev
Curiously, in this version, HTML editor has been totally removed from question page editing.
However, the tick boxes are still there, but without effect, i.e. if you tick Use editor, then Redisplay page, nothing has changed.
This is going too far.
What should be done (in both versions)
Allow/Enable HTML editor for all question types and all answers and responses except for:
short answer type, Answer box
numerical type, Answer box
I have posted
bug report #4852Joseph