From fe257a20324fe68838e5829e19d18777045a41b4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 9 Apr 2012 12:54:02 +0200 Subject: [PATCH] html2plain: changed behaviour for the "hr" element. --- include/html2plain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/html2plain.php b/include/html2plain.php index 7aa20500a5..21261327db 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", "");