Skip to content

Commit eff8e27

Browse files
committed
trying to show line breaks in the email notifications
1 parent e8eb8a9 commit eff8e27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/templates/email/html/proposal_base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,6 @@ function ($e) use ($year) {
162162
<?php if (!empty($proposal['note'])): ?>
163163
<div>
164164
<h3>Nota</h3>
165-
<p style="white-space: pre-wrap;"><?= h($proposal['note']) ?></p>
165+
<p><?= nl2br(h($proposal['note'])) ?></p>
166166
</div>
167167
<?php endif; ?>

0 commit comments

Comments
 (0)