Don't concert html nodes with no bbcode equivalent.

This commit is contained in:
Harald Eilertsen
2024-02-07 16:02:53 +01:00
parent e6ce2885c0
commit 4f69e02768

View File

@@ -10,6 +10,10 @@ Originally made for the syncom project: http://wiki.piratenpartei.de/Syncom
function node2bbcode(&$doc, $oldnode, $attributes, $startbb, $endbb)
{
do {
if (empty($startbb) && empty($endbb)) {
break;
}
$done = node2bbcodesub($doc, $oldnode, $attributes, $startbb, $endbb);
} while ($done);
}