Fixed a nexted <li> bug
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php
index 2393e16..0ee6a24 100644
--- a/system/libraries/Typography.php
+++ b/system/libraries/Typography.php
@@ -290,7 +290,10 @@
 		$str = preg_replace("/([^\n])(\n)([^\n])/", "\\1<br />\\2\\3", $str);
 		
 		// Wrap the whole enchilada in enclosing paragraphs
-		$str =  '<p>'.$str.'</p>';
+		if ($str != "\n")
+		{
+			$str =  '<p>'.$str.'</p>';
+		}
 
 		// Remove empty paragraphs if they are on the first line, as this
 		// is a potential unintended consequence of the previous code