BarryServer : Git

All the code for all my projects
// BarryServer : Git / barryserver-git / commit / d3622d6035ed6d9496ee8c6c627264f62668ca18

// Related

barryserver-git

Barry Fixed End of list d3622d6 (4 years, 1 month ago)
diff --git a/git.php b/git.php
index df4c237..cd6a7a1 100644
--- a/git.php
+++ b/git.php
@@ -277,8 +277,8 @@ ob_start();
 						$readme = preg_replace("/```([^`]+)```/","<pre style=\"color:magenta;font-style:italic\">$1</pre>",$readme);
 						$readme = preg_replace("/`([^`]+)`/","<span style=\"color:magenta;font-style:italic\">$1</span>",$readme);
 						$readme = preg_replace("/(^|\n)---($|\n)/","<br><hr class=\"readme\">",$readme);
-						$readme = preg_replace("/\n\n/","<br>",$readme);
 						$readme = preg_replace("/(^|\n) - (.*)/","<li class=\"readme\">$2</li>",$readme);
+						$readme = preg_replace("/\n\n/","<br>",$readme);
 						$readme = preg_replace("/\[img src=\"([^\"]+)\"\]/","<img src=\"$1\" class=\"readme\" style=\"max-width:100%\" />",$readme);
 						$readme = preg_replace("/\[link src=\"([^\"]+)\"\]/","<a href=\"$1\" class=\"readme\">$1</a>",$readme);
 						echo "		<br>\n		".$readme;