From 073c1cfce3c54df6b005c7ba741244baba9406c2 Mon Sep 17 00:00:00 2001 From: Roland Dalmulder Date: Fri, 27 May 2022 20:06:20 +0200 Subject: [PATCH] Move br tag to private message Signed-off-by: Roland Dalmulder --- plugins/workflow/notification/notification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/workflow/notification/notification.php b/plugins/workflow/notification/notification.php index 01e401ce28788..092569947dc28 100644 --- a/plugins/workflow/notification/notification.php +++ b/plugins/workflow/notification/notification.php @@ -223,7 +223,7 @@ public function onWorkflowAfterTransition(WorkflowTransitionEvent $event): void if (!empty($transition->options['notification_text'])) { - $extraText = '
' . htmlspecialchars($lang->_($transition->options['notification_text'])); + $extraText = htmlspecialchars($lang->_($transition->options['notification_text'])); } foreach ($notificationTypes as $type) @@ -295,7 +295,7 @@ private function sendMessages( $user, $toStage ); - $messageText .= $extraText; + $messageText .= '
' . $extraText; $message = [ 'id' => 0,