1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fix for 'list' detection.

This commit is contained in:
Cameron
2019-06-21 14:04:28 -07:00
parent 6eb730ff69
commit b726dde81d

View File

@@ -1191,7 +1191,7 @@ if (!class_exists('e107table', false))
}
// Automatic list detection .
$isList = (strpos(ltrim($text), '<ul ') !== false) ? true : false;
$isList = (strpos(ltrim($text), '<ul') === 0 ) ? true : false;
$this->setContent('list', $isList);
$options = $this->getContent();