aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2plain.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-09 12:54:02 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-09 12:54:02 +0200
commitfe257a20324fe68838e5829e19d18777045a41b4 (patch)
treea46d809d2e11fefba938717d38b1371572e4d815 /include/html2plain.php
parent894e126c55b2e56c2e63aaa59e1bae00d4221e33 (diff)
downloadvolse-hubzilla-fe257a20324fe68838e5829e19d18777045a41b4.tar.gz
volse-hubzilla-fe257a20324fe68838e5829e19d18777045a41b4.tar.bz2
volse-hubzilla-fe257a20324fe68838e5829e19d18777045a41b4.zip
html2plain: changed behaviour for the "hr" element.
Diffstat (limited to 'include/html2plain.php')
-rw-r--r--include/html2plain.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2plain.php b/include/html2plain.php
index 7aa20500a..21261327d 100644
--- a/include/html2plain.php
+++ b/include/html2plain.php
@@ -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", "");