Allow italics in poll items

This commit is contained in:
Alex Cabal 2022-10-01 16:58:43 -05:00
parent 5e9dee2e75
commit 308dd294b3
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ catch(Exceptions\SeException $ex){
<tbody>
<? foreach($poll->PollItemsByWinner as $pollItem){ ?>
<tr>
<td><?= Formatter::ToPlainText($pollItem->Name) ?></td>
<td><?= $pollItem->Name ?></td>
<td>
<div class="meter">
<div aria-hidden="true">

View file

@ -68,7 +68,7 @@ catch(Exceptions\PollVoteExistsException $ex){
<label class="checkbox">
<input type="radio" value="<?= $pollItem->PollItemId ?>" name="pollitemid" required="required"<? if($vote->PollItemId == $pollItem->PollItemId){ ?> checked="checked"<? } ?>/>
<span>
<b><?= Formatter::ToPlainText($pollItem->Name) ?></b>
<b><?= $pollItem->Name ?></b>
<? if($pollItem->Description !== null){ ?>
<span><?= Formatter::ToPlainText($pollItem->Description) ?></span>
<? } ?>