diff --git a/index.php b/index.php
index 82137f8..cd74033 100644
--- a/index.php
+++ b/index.php
@@ -618,6 +618,10 @@ HTML;
}
+ // Construct HTML breaks from carriage returns and line breaks
+ $linebreak_patterns = array("\r\n", "\r", "\n"); // Variations of line breaks found in raw text
+ $content = str_replace($linebreak_patterns, "
", $content);
+
// Construct the content
$content = "
{$content}
";