Make sure <li> elements exist within <ul> tags, for display consistency.

        Patch by ninetydegrees. 

diffs (20 lines):

diff -r 0bd4eaaaff4a -r f91104d03d57 htdocs/editjournal.bml
--- a/htdocs/editjournal.bml    Wed Feb 16 20:32:10 2011 +0800
+++ b/htdocs/editjournal.bml    Wed Feb 16 16:10:51 2011 -0600
@@ -282,6 +282,7 @@ body<=
                                                             auth_response => 
$POST{"prop_xpost_resp_$acctid"}
                                                                              
|| $GET{"prop_xpost_resp_$acctid"}})
                                                       });
+                    $xpost_result .= "<ul>\n";
                     $xpost_result .= join("\n",
                                           map {"<li>"
                                                . 
BML::ml('xpost.request.success',
@@ -295,6 +296,8 @@ body<=
                                                           'editurl' => 
$edititemlink})
                                                . " </strong></div></li>"}
                                               @{$xpost_failures});
+                    $xpost_result .= "</ul>\n";
+                    $xpost_result .= "<br/>";
                 }
 
                 my $result = "<?h1 $ML{'.success.head'} h1?>";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to