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

sebb pushed a commit to branch mod-gui
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/mod-gui by this push:
     new ecbb800  Restore class dropped for debugging
ecbb800 is described below

commit ecbb800994fb81046768fad74643c62b711105b1
Author: Sebb <[email protected]>
AuthorDate: Sun Jan 20 11:01:47 2019 +0000

    Restore class dropped for debugging
---
 www/moderation/desk/views/body.html.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/moderation/desk/views/body.html.rb 
b/www/moderation/desk/views/body.html.rb
index d6dba34..f7acd80 100644
--- a/www/moderation/desk/views/body.html.rb
+++ b/www/moderation/desk/views/body.html.rb
@@ -109,7 +109,7 @@ _html do
       body.force_encoding(container.charset) rescue nil
     end
 
-    _pre body.encode('utf-8', invalid: :replace, :undef => :replace)
+    _pre.bg_info body.encode('utf-8', invalid: :replace, :undef => :replace)
   else # must be a non-multi part mail
     container = @message.mail
     body = container.body.to_s
@@ -123,7 +123,7 @@ _html do
     
     if container.mime_type == 'text/plain'
 
-      _pre body.encode('utf-8', invalid: :replace, :undef => :replace)
+      _pre.bg_info body.encode('utf-8', invalid: :replace, :undef => :replace)
 
     elsif container.mime_type == 'text/html'
 

Reply via email to