## PREP 2015 Question Authoring - Archived

### Spaces not showing in Correct Answer

by Daniele Arcara -
Number of replies: 2
This is a minor problem, since it shows up correctly in the 'Answer Preview' column, but I thought I would point it out anyway, in case it is an easy fix.

I was working on a problem with a drop-down menu as answer. The text within the drop-down menu had spaces, and they did not show in the 'Correct Answer' column (while they did show in the 'Answer Preview' column):

I will avoid putting the whole code here, but here are the relevant parts:

"PGstandard.pl",
"PGML.pl",
"parserPopUp.pl",   #For multiple choice questions with a drop down menu
"PGcourse.pl"
);

$popup = PopUp(["???", "the series is convergent by the Divergence Test", "the series is divergent by the Divergence Test", "the Divergence Test is inconclusive"], "the Divergence Test is inconclusive"); a. We can therefore say that [______________]{$popup} (choose one).