aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/ShaarliMiddleware.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/ShaarliMiddleware.php')
-rw-r--r--application/front/ShaarliMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/ShaarliMiddleware.php b/application/front/ShaarliMiddleware.php
index e9f5552d..fd978e99 100644
--- a/application/front/ShaarliMiddleware.php
+++ b/application/front/ShaarliMiddleware.php
@@ -56,7 +56,7 @@ class ShaarliMiddleware
56 } catch (ShaarliFrontException $e) { 56 } catch (ShaarliFrontException $e) {
57 // Possible functional error 57 // Possible functional error
58 $this->container->pageBuilder->reset(); 58 $this->container->pageBuilder->reset();
59 $this->container->pageBuilder->assign('message', $e->getMessage()); 59 $this->container->pageBuilder->assign('message', nl2br($e->getMessage()));
60 60
61 $response = $response->withStatus($e->getCode()); 61 $response = $response->withStatus($e->getCode());
62 62