includes/render.php
changeset 1066 bead71f28f63
parent 1054 e6b14d33ac55
child 1073 b19a9bcb6a45
--- a/includes/render.php	Fri Jul 17 17:11:09 2009 -0400
+++ b/includes/render.php	Fri Jul 17 20:23:48 2009 -0400
@@ -206,6 +206,9 @@
     // Strip out embedded PHP
     self::php_strip($text, $php_stripped);
     
+    // Convert newlines for the parser
+    $text = str_replace("\r\n", "\n", $text);
+    
     // Perform render through the engine
     $carpenter = new Carpenter();
     $carpenter->flags = $flags;