Quiz Answers Are Truncated

From K-Wiki

Jump to: navigation, search



Multiple-Choice or Matching quiz answers are truncated.


The presence of the left angle-bracket (<) breaks the Moodle page HTML. Any text following the bracket disappears from the display, although it's still present on the question editing page.


Solution 1

Replace the left angle-bracket with the HTML element "&lt;" (without the quotes).

Solution 2

An even better work-around: "(A<B) causes an html hiccup but (A < B) does not." (note the spaces surrounding the left angle bracket.) We're calling this The Bourgeois Effect because he discovered it.

NOTE: If a student types a left angle-bracket in the reply space for an Essay Quiz question, 
     it's likely that the teacher will not be able to read the full reply.
Personal tools