fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-04-28 03:29 am

[dw-free] Missing space when several status/content warning notices displayed on user profile

[commit: http://hg.dwscoalition.org/dw-free/rev/8a65ea36289a]

http://bugs.dwscoalition.org/show_bug.cgi?id=3596

Add space between different error messages.

Patch by [personal profile] fu.

Files modified:
  • htdocs/profile.bml
--------------------------------------------------------------------------------
diff -r 214fe3ebb872 -r 8a65ea36289a htdocs/profile.bml
--- a/htdocs/profile.bml	Fri Apr 22 22:52:31 2011 +0800
+++ b/htdocs/profile.bml	Thu Apr 28 11:28:58 2011 +0800
@@ -390,7 +390,7 @@ body<=
     $ret .= q{ <div class='details_stats detail'> };
 
     # journal warnings
-    $ret .= "<span class='$_->{class}'>$_->{text}</span>" foreach $profile->warnings;
+    $ret .= "<span class='$_->{class}'>$_->{text}</span> " foreach $profile->warnings;
 
     # account type
     my $accttype = DW::Pay::get_account_type_name( $u );
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org