Talk:Embedded Answers (Cloze) question type

From MoodleDocs
Revision as of 20:56, 4 February 2020 by Dominique Bauer (talk | contribs)

The equal sign (=) doesn't seem to work with SHORTANSWER.

On occasion, the Atto editor can insert HTML code, without your knowledge, into the text between { and } with the result that the Cloze question does not work as expected.

For example, if you have the following:

Moodle is the {:SA:=best~=leading} LMS.

the HTML code must contain exactly {:SA:=best~=leading}. However, it is possible that the Atto editor has inserted an HTML tag, for example a <span> tag as follows:

Moodle is the {:SA:=best~<span>=</span>leading} LMS.

This can only be revealed if you view the HTML code. Check *** to see how to do it.

So, if the Cloze question is not working as it should, check that it does not contain unnecessary HTML tags. All you have to do is view the HTML code of the question text and remove these tags.