Hyeonjae Park 2019-01-17
notification: Fix omitting br tag replacement
@66824e090c0de2a8a77f5458f13e8434c099b730
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){
List