diff --git a/macros/parsers/parserPopUp.pl b/macros/parsers/parserPopUp.pl index 1c1e9d928..ad194a216 100644 --- a/macros/parsers/parserPopUp.pl +++ b/macros/parsers/parserPopUp.pl @@ -478,13 +478,16 @@ sub MENU { '', map { main::tag( - 'button', - class => 'dropdown-item' - . ($self->{values}[$_] eq $answer_value ? ' active' : ''), - type => 'button', - data_value => $self->{values}[$_], - data_content => $self->{labels}[$_], - $self->{labels}[$_] + 'li', + main::tag( + 'button', + class => 'dropdown-item' + . ($self->{values}[$_] eq $answer_value ? ' active' : ''), + type => 'button', + data_value => $self->{values}[$_], + data_content => $self->{labels}[$_], + $self->{labels}[$_] + ) ) } (0 .. $#list) )