monitoring: Use View::nl2br() for the downtime detail view

refs #10603
This commit is contained in:
Eric Lippmann 2015-12-16 13:05:32 +01:00
parent 216d1e71e8
commit d6431119e9
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
</tr>
<tr title="<?= $this->translate('A comment, as entered by the author, associated with the scheduled downtime'); ?>">
<th><?= $this->translate('Comment') ?></th>
<td class="comment-text"><?= $this->escape($this->downtime->comment) ?></td>
<td class="comment-text"><?= $this->nl2br($this->escape($this->downtime->comment)) ?></td>
</tr>
</tbody>
</table>