aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-02 01:11:19 -0700
committerfriendica <info@friendica.com>2012-07-02 01:11:19 -0700
commit315784444af3145e6afba210731f0104d21f9db3 (patch)
tree56f4c6621a94afffeef574ba202733dc144ad30a /include/html2bbcode.php
parenta9c65dfe2725fd18d2fb1f593f9ffb9841729a96 (diff)
downloadvolse-hubzilla-315784444af3145e6afba210731f0104d21f9db3.tar.gz
volse-hubzilla-315784444af3145e6afba210731f0104d21f9db3.tar.bz2
volse-hubzilla-315784444af3145e6afba210731f0104d21f9db3.zip
try and get unadulterated bb2md2html2bb for simple stuff, then we'll work up to harder stuff
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r--include/html2bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 69ccf41b7..985c36eaa 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -124,7 +124,7 @@ function html2bbcode($message)
$node->nodeValue = str_replace("\n", "\r", $node->nodeValue);
$message = $doc->saveHTML();
- $message = str_replace(array("\n<", ">\n", "\r", "\n", "\xC3\x82\xC2\xA0"), array("<", ">", "<br>", " ", ""), $message);
+ $message = str_replace(array("\n<", ">\n", "\r", "\n", "\xC3\x82\xC2\xA0"), array("<", ">", "<br />", " ", ""), $message);
$message = preg_replace('= [\s]*=i', " ", $message);
@$doc->loadHTML($message);