aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-02-29 14:58:37 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-02-29 14:58:37 +0100
commitb71a3af4570ccf349804b9ffa151fc1d35287d88 (patch)
tree264c012a0c8ca28c4035666d35c547a829968a2a /include/html2bbcode.php
parentf5b8654818e63a0583e58caecc8a13c2d83c12d5 (diff)
parentfb33b4f2bcd18e63d311e6dba3aaa2ea5efdec3b (diff)
downloadvolse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.tar.gz
volse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.tar.bz2
volse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.zip
Merge remote-tracking branch 'friendica/master' into randomerror
Diffstat (limited to 'include/html2bbcode.php')
-rwxr-xr-xinclude/html2bbcode.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index d8f1a24f1..51d629940 100755
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -10,7 +10,7 @@ Originally made for the syncom project: http://wiki.piratenpartei.de/Syncom
function node2bbcode(&$doc, $oldnode, $attributes, $startbb, $endbb)
{
do {
- $done = node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb);
+ $done = node2bbcodesub($doc, $oldnode, $attributes, $startbb, $endbb);
} while ($done);
}
@@ -258,7 +258,7 @@ function html2bbcode($message)
"[hr]\n",
"\n[list",
"[/list]\n",
- "\n[/list]",
+ "\n[/",
"[list]\n",
"[list=1]\n",
"\n[*]"),
@@ -268,7 +268,7 @@ function html2bbcode($message)
"[hr]",
"[list",
"[/list]",
- "[/list]",
+ "[/",
"[list]",
"[list=1]",
"[*]"),