[gnome-web-www] previous-donors: Made escaped \n a raw newline



commit ed90ce072043f1839f304c557c1c398b77f818d0
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Fri Jan 25 18:32:44 2013 +0100

    previous-donors: Made escaped \n a raw newline
    
    Ah, I didn't know how quoting works in PHP. Now it should indeed make it a newline.

 theme/page-previous-donors.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/theme/page-previous-donors.php b/theme/page-previous-donors.php
index 761a8cc..4d6c096 100644
--- a/theme/page-previous-donors.php
+++ b/theme/page-previous-donors.php
@@ -49,11 +49,11 @@ require_once("header.php"); ?>
                         $level_count = count($donor_array);
                         if ($level_count > 1) { // The count behaves weirdly for me. Always +1.
                             echo "<h4>$level</h4>\n";
-                            echo '<ul style="list-style-type: disc;">\n';
+                            echo '<ul style="list-style-type: disc;">'."\n";
                             foreach ($donor_array as $donor_line) {
                                 $donor = trim($donor_line, "\x00..\x20");
                                 if (strlen($donor) > 0)
-                                    echo "<li>".htmlspecialchars($donor)."</li>\n";
+                                    echo "  <li>".htmlspecialchars($donor)."</li>\n";
                             }
                             echo "</ul>\n";
                         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]