diff --git a/include/html2text.php b/include/html2text.php
index 8033a834b1d2e90b28a43b730a5a45c5b70d0edc..e894a220bb361844e689708165fb6bb58d54a8bb 100644
--- a/include/html2text.php
+++ b/include/html2text.php
@@ -27,8 +27,13 @@
 function convert_html_to_text($html, $width=74) {
     $html = fix_newlines($html);
 
-    if (!extension_loaded('xml'))
-        return strip_tags($html);
+    if (!extension_loaded('xml')) {
+        $html = preg_replace(
+           array(':<br ?/?>|</div>:i', ':</p>:i'),
+           array("\n", "\n\n"),
+           $html);
+        return Format::striptags($html);
+    }
 
     $doc = new DOMDocument('1.0', 'utf-8');
     if (!@$doc->loadHTML($html))