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:30 UTC

[allura] branch gc/8419 created (now ea9921d)

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

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


      at ea9921d  8419 adding <pre> tag to messages

This branch includes the following new commits:

     new ea9921d  8419 adding <pre> tag to messages

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

Posted by gc...@apache.org.
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',