mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Replace \n with <br />
This commit is contained in:
@ -103,7 +103,7 @@ $notifications = new ObjCache('notifications');
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<blockquote>
|
||||
<p><?php echo $notif['body']; ?></p>
|
||||
<p><?php echo preg_replace('/\\\n/','<br />', $notif['body']); ?></p>
|
||||
<footer>Source: <code><?php echo $notif['source']; ?></code></footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
@ -133,7 +133,7 @@ $notifications = new ObjCache('notifications');
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<blockquote>
|
||||
<p><?php echo $notif['body']; ?></p>
|
||||
<p><?php echo preg_replace('/\\\n/','<br />', $notif['body']); ?></p>
|
||||
<footer>Source: <code><?php echo $notif['source']; ?></code></footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user