Fix whitespaces in event-history

overview-plugin-output now has white-space: pre-wrap
This commit is contained in:
Eric Lippmann 2016-02-25 11:34:23 +01:00
parent a34f48c990
commit 43a7ed357a
1 changed files with 5 additions and 8 deletions

View File

@ -143,14 +143,11 @@ $history->limit($limit * $page);
) ?> ) ?>
<?php endif ?> <?php endif ?>
<?php endif ?> <?php endif ?>
<p class="overview-plugin-output"> <p class="overview-plugin-output"><?php if ($icon) {
<?php if ($icon) { echo $this->icon($icon, null, $iconCssClass ? array('class' => $iconCssClass) : array());
echo $this->icon($icon, null, $iconCssClass ? array('class' => $iconCssClass) : array()); } ?><?= $this->nl2br($this->createTicketLinks($this->escapeComment($msg)))
} ?> // TODO(ak): this allows only a[href] in messages, but plugin output allows more
<?= $this->nl2br($this->createTicketLinks($this->escapeComment($msg))) ?></p>
// TODO(ak): this allows only a[href] in messages, but plugin output allows more
?>
</p>
</td> </td>
</tr> </tr>
<?php endforeach ?> <?php endforeach ?>