Skip to content

parserRaidoMultiAnswer no longer works with '%s*' for ans_array. #1234

@somiaj

Description

@somiaj

This following problem renders in 2.19 but doesn't render in PG-2.20 with errors.

DOCUMENT();
loadMacros(qw(PGstandard.pl PGML.pl parserRadioMultiAnswer.pl));

Context('Matrix');
$M   = Matrix([[1,0], [0,1]]);
$rma = RadioMultiAnswer([['The identity matrix is %s*.', $M]], 0);

BEGIN_PGML
Enter Identity Matrix.

        [_]{$rma}

END_PGML
ENDDOCUMENT();

Replacing the %s* with %s fixes the issue, but then I don't get the matrix answer array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions