You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2022/03/04 16:59:31 UTC

[allura] 01/01: 8419 adding
 tag to messages

This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/8419
in repository https://gitbox.apache.org/repos/asf/allura.git

commit ea9921d70ec397db4c27ee854c8b162d6a9e9b4a
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Fri Mar 4 09:59:20 2022 -0700

    8419 adding <pre> tag to messages
---
 Allura/allura/public/nf/js/jquery.notify.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/public/nf/js/jquery.notify.js b/Allura/allura/public/nf/js/jquery.notify.js
index 27eb388..08abfa4 100644
--- a/Allura/allura/public/nf/js/jquery.notify.js
+++ b/Allura/allura/public/nf/js/jquery.notify.js
@@ -153,7 +153,7 @@
         sticky: false,
         title: '',
         sanitize: true,
-        tmpl: '<div class="message <%=newClass%> <%=status%> <% if (sticky) { %><%=stickyClass %><% } %>" data-timer="<%=timer%>"><% if (title) { %><h6><%=title%></h6><% } %><div class="content"><%=message%></div></div>',
+        tmpl: '<div class="message <%=newClass%> <%=status%> <% if (sticky) { %><%=stickyClass %><% } %>" data-timer="<%=timer%>"><% if (title) { %><h6><%=title%></h6><% } %><div class="content"><pre><%=message%></pre></div></div>',
         stickyClass: 'notify-sticky',
 		persistentClass: 'notify-persistent',
 		persistentCookie: 'notify-persistent-closed',