]> git.mxchange.org Git - friendica.git/blobdiff - include/html2plain.php
Merge pull request #247 from simonlnu/master
[friendica.git] / include / html2plain.php
index 7aa20500a57a1ad2594fa4f489743035dc343ebb..21261327db82aefc2ce9dda46c8d930155fb390d 100644 (file)
@@ -157,7 +157,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
        //node2bbcode($doc, 'ol', array(), "\n[list=1]", "[/list]\n");
        node2bbcode($doc, 'li', array(), "\n* ", "\n");
 
-       node2bbcode($doc, 'hr', array(), str_repeat("-", 70), "");
+       node2bbcode($doc, 'hr', array(), "\n".str_repeat("-", 70)."\n", "");
 
        node2bbcode($doc, 'tr', array(), "\n", "");
        node2bbcode($doc, 'td', array(), "\t", "");