[Notice] Announcing the End of Demo Server [Read me]
Hyeonjae Park 2019-01-17
Merge branch 'feature/notification-br-tag-bug-fix' into next
Reviewed-by: Suwon Chae
@d0ba57639927eacf109e01094ca17d3eb1f96af9
app/views/index/partial_notifications.scala.html
--- app/views/index/partial_notifications.scala.html
+++ app/views/index/partial_notifications.scala.html
@@ -67,7 +67,7 @@
                     }
                 </div>
                 <div class="message-wrap nowrap" id="message-@noti.id">
-                    <div class="message">@Html(HtmlUtil.defaultSanitize(noti.getMessage))</div>
+                    <div class="message">@Html(HtmlUtil.defaultSanitize(noti.getMessage.replaceAll("(?<!>)\n", "<br/>\n")))</div>
                 </div>
                 <div class="meta">
                     @if(user != null){
Add a comment
List