Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Embedded Answers (Cloze) question type.

Talk:Embedded Answers (Cloze) question type: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
Line 5: Line 5:
'''Not working:''' (from the code view/HTML view in the editor)
'''Not working:''' (from the code view/HTML view in the editor)


Present career {:SA:=pop star~<span>=</span>famous pop star} or Present career {:SA:=pop star~<span>%100%</span>famous pop star}
Present career {:SA:=pop star~&lt;span&gt;=&lt;/span&lt;famous pop star} or Present career {:SA:=pop star~&lt;span&gt;%100%&lt;/span&gt;famous pop star}


'''Working:''' (after cleaning up the span tags)
'''Working:''' (after cleaning up the span tags)
Line 12: Line 12:


'''Solution:''' go into HTML view and clean up any tags in the shortcode between the start { and end }
'''Solution:''' go into HTML view and clean up any tags in the shortcode between the start { and end }
--[[User:Stan Bogdanov|Stan Bogdanov]] ([[User talk:Stan Bogdanov|talk]]) 04:48, 25 March 2015 (AWST)

Revision as of 17:26, 4 February 2020

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

Most people work with the HTML Editor as a WYSIWYG editor and some code gets inserted. Compare:

Not working: (from the code view/HTML view in the editor)

Present career {:SA:=pop star~<span>=</span<famous pop star} or Present career {:SA:=pop star~<span>%100%</span>famous pop star}

Working: (after cleaning up the span tags)

Present career {:SA:=pop star~=famous pop star} and Present career {:SA:=pop star~%100%famous pop star}

Solution: go into HTML view and clean up any tags in the shortcode between the start { and end }